Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
qemu
提交
fc97bb5b
Q
qemu
项目概览
openeuler
/
qemu
通知
10
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
Q
qemu
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
fc97bb5b
编写于
2月 05, 2013
作者:
P
Paolo Bonzini
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
hw: move display devices to hw/display/, configure via default-configs/
Signed-off-by:
N
Paolo Bonzini
<
pbonzini@redhat.com
>
上级
34b8f63e
变更
31
隐藏空白更改
内联
并排
Showing
31 changed file
with
45 addition
and
23 deletion
+45
-23
default-configs/arm-softmmu.mak
default-configs/arm-softmmu.mak
+6
-0
default-configs/i386-softmmu.mak
default-configs/i386-softmmu.mak
+1
-0
default-configs/lm32-softmmu.mak
default-configs/lm32-softmmu.mak
+1
-0
default-configs/sh4-softmmu.mak
default-configs/sh4-softmmu.mak
+1
-0
default-configs/sh4eb-softmmu.mak
default-configs/sh4eb-softmmu.mak
+1
-0
default-configs/sparc-softmmu.mak
default-configs/sparc-softmmu.mak
+1
-0
default-configs/x86_64-softmmu.mak
default-configs/x86_64-softmmu.mak
+1
-0
hw/Makefile.objs
hw/Makefile.objs
+0
-5
hw/arm/Makefile.objs
hw/arm/Makefile.objs
+6
-7
hw/blizzard_template.h
hw/blizzard_template.h
+1
-1
hw/display/Makefile.objs
hw/display/Makefile.objs
+21
-0
hw/display/blizzard.c
hw/display/blizzard.c
+0
-0
hw/display/exynos4210_fimd.c
hw/display/exynos4210_fimd.c
+2
-3
hw/display/framebuffer.c
hw/display/framebuffer.c
+0
-0
hw/display/milkymist-tmu2.c
hw/display/milkymist-tmu2.c
+0
-0
hw/display/milkymist-vgafb.c
hw/display/milkymist-vgafb.c
+0
-0
hw/display/omap_dss.c
hw/display/omap_dss.c
+0
-0
hw/display/omap_lcdc.c
hw/display/omap_lcdc.c
+0
-0
hw/display/pxa2xx_lcd.c
hw/display/pxa2xx_lcd.c
+0
-0
hw/display/qxl-logger.c
hw/display/qxl-logger.c
+0
-0
hw/display/qxl-render.c
hw/display/qxl-render.c
+0
-0
hw/display/qxl.c
hw/display/qxl.c
+0
-0
hw/display/sm501.c
hw/display/sm501.c
+0
-0
hw/display/tc6393xb.c
hw/display/tc6393xb.c
+0
-0
hw/display/tcx.c
hw/display/tcx.c
+0
-0
hw/display/vga.c
hw/display/vga.c
+0
-0
hw/i386/Makefile.objs
hw/i386/Makefile.objs
+0
-1
hw/lm32/Makefile.objs
hw/lm32/Makefile.objs
+0
-3
hw/milkymist-vgafb_template.h
hw/milkymist-vgafb_template.h
+1
-1
hw/sh4/Makefile.objs
hw/sh4/Makefile.objs
+1
-1
hw/sparc/Makefile.objs
hw/sparc/Makefile.objs
+1
-1
未找到文件。
default-configs/arm-softmmu.mak
浏览文件 @
fc97bb5b
...
...
@@ -48,8 +48,14 @@ CONFIG_PL310=y
CONFIG_PL330
=
y
CONFIG_CADENCE
=
y
CONFIG_XGMAC
=
y
CONFIG_EXYNOS4
=
y
CONFIG_PXA2XX
=
y
CONFIG_FRAMEBUFFER
=
y
CONFIG_MARVELL_88W8618
=
y
CONFIG_OMAP
=
y
CONFIG_BLIZZARD
=
y
CONFIG_ONENAND
=
y
CONFIG_ZAURUS
=
y
CONFIG_VERSATILE_PCI
=
y
CONFIG_VERSATILE_I2C
=
y
...
...
default-configs/i386-softmmu.mak
浏览文件 @
fc97bb5b
...
...
@@ -3,6 +3,7 @@
include
pci.mak
include
usb.mak
CONFIG_VGA
=
y
CONFIG_QXL
=
$(CONFIG_SPICE)
CONFIG_VGA_PCI
=
y
CONFIG_VGA_ISA
=
y
CONFIG_VGA_CIRRUS
=
y
...
...
default-configs/lm32-softmmu.mak
浏览文件 @
fc97bb5b
# Default configuration for lm32-softmmu
CONFIG_MILKYMIST
=
y
CONFIG_FRAMEBUFFER
=
y
CONFIG_PTIMER
=
y
CONFIG_PFLASH_CFI01
=
y
CONFIG_PFLASH_CFI02
=
y
...
...
default-configs/sh4-softmmu.mak
浏览文件 @
fc97bb5b
...
...
@@ -8,3 +8,4 @@ CONFIG_PFLASH_CFI02=y
CONFIG_ISA_MMIO
=
y
CONFIG_SH4
=
y
CONFIG_IDE_MMIO
=
y
CONFIG_SM501
=
y
default-configs/sh4eb-softmmu.mak
浏览文件 @
fc97bb5b
...
...
@@ -8,3 +8,4 @@ CONFIG_PFLASH_CFI02=y
CONFIG_ISA_MMIO
=
y
CONFIG_SH4
=
y
CONFIG_IDE_MMIO
=
y
CONFIG_SM501
=
y
default-configs/sparc-softmmu.mak
浏览文件 @
fc97bb5b
...
...
@@ -9,4 +9,5 @@ CONFIG_FDC=y
CONFIG_EMPTY_SLOT
=
y
CONFIG_PCNET_COMMON
=
y
CONFIG_LANCE
=
y
CONFIG_TCX
=
y
CONFIG_CS4231
=
y
default-configs/x86_64-softmmu.mak
浏览文件 @
fc97bb5b
...
...
@@ -3,6 +3,7 @@
include
pci.mak
include
usb.mak
CONFIG_VGA
=
y
CONFIG_QXL
=
$(CONFIG_SPICE)
CONFIG_VGA_PCI
=
y
CONFIG_VGA_ISA
=
y
CONFIG_VGA_CIRRUS
=
y
...
...
hw/Makefile.objs
浏览文件 @
fc97bb5b
...
...
@@ -31,11 +31,6 @@ obj-y += $(devices-dirs-y)
ifeq
($(CONFIG_SOFTMMU),y)
# Per-target files
# virtio has to be here due to weird dependency between PCI and virtio-net.
# need to fix this properly
obj-$(CONFIG_VGA)
+=
vga.o
# Inter-VM PCI shared memory & VFIO PCI device assignment
ifeq
($(CONFIG_PCI), y)
obj-$(CONFIG_KVM)
+=
ivshmem.o
...
...
hw/arm/Makefile.objs
浏览文件 @
fc97bb5b
...
...
@@ -5,22 +5,21 @@ obj-y += a9scu.o
obj-y
+=
realview_gic.o arm_sysctl.o arm11mpcore.o a9mpcore.o
obj-y
+=
exynos4210_gic.o exynos4210_combiner.o
obj-y
+=
exynos4210_uart.o exynos4210_pwm.o
obj-y
+=
exynos4210_pmu.o exynos4210_mct.o
exynos4210_fimd.o
obj-y
+=
exynos4210_pmu.o exynos4210_mct.o
obj-y
+=
exynos4210_rtc.o exynos4210_i2c.o
obj-y
+=
arm_mptimer.o a15mpcore.o
obj-y
+=
armv7m_nvic.o
obj-y
+=
pxa2xx_timer.o pxa2xx_dma.o
obj-y
+=
pxa2xx_
lcd.o pxa2xx_
mmci.o pxa2xx_pcmcia.o pxa2xx_keypad.o
obj-y
+=
zaurus.o
tc6393xb.o
obj-y
+=
omap_
lcdc.o omap_
dma.o omap_clk.o omap_mmc.o omap_i2c.o
\
obj-y
+=
pxa2xx_mmci.o pxa2xx_pcmcia.o pxa2xx_keypad.o
obj-y
+=
zaurus.o
obj-y
+=
omap_dma.o omap_clk.o omap_mmc.o omap_i2c.o
\
omap_gpio.o omap_intc.o omap_uart.o
obj-y
+=
omap_dss.o
soc_dma.o omap_gptimer.o omap_synctimer.o
\
obj-y
+=
soc_dma.o omap_gptimer.o omap_synctimer.o
\
omap_gpmc.o omap_sdrc.o omap_spi.o omap_tap.o omap_l4.o
obj-y
+=
tsc210x.o
obj-y
+=
blizzard.o
cbus.o tusb6010.o
obj-y
+=
cbus.o tusb6010.o
obj-y
+=
mst_fpga.o
obj-y
+=
bitbang_i2c.o
obj-y
+=
framebuffer.o
obj-y
+=
strongarm.o
obj-y
+=
imx_serial.o imx_ccm.o imx_timer.o imx_avic.o
obj-$(CONFIG_KVM)
+=
kvm/arm_gic.o
...
...
hw/blizzard_template.h
浏览文件 @
fc97bb5b
...
...
@@ -55,7 +55,7 @@ static void glue(blizzard_draw_line16_, DEPTH)(PIXEL_TYPE *dest,
unsigned
int
r
,
g
,
b
;
const
uint16_t
*
end
=
(
const
void
*
)
src
+
width
;
while
(
src
<
end
)
{
data
=
lduw_raw
(
src
++
)
;
data
=
*
src
++
;
b
=
(
data
&
0x1f
)
<<
3
;
data
>>=
5
;
g
=
(
data
&
0x3f
)
<<
2
;
...
...
hw/display/Makefile.objs
浏览文件 @
fc97bb5b
...
...
@@ -11,3 +11,24 @@ common-obj-$(CONFIG_VGA_PCI) += vga-pci.o
common-obj-$(CONFIG_VGA_ISA)
+=
vga-isa.o
common-obj-$(CONFIG_VGA_ISA_MM)
+=
vga-isa-mm.o
common-obj-$(CONFIG_VMWARE_VGA)
+=
vmware_vga.o
common-obj-$(CONFIG_BLIZZARD)
+=
blizzard.o
common-obj-$(CONFIG_EXYNOS4)
+=
exynos4210_fimd.o
common-obj-$(CONFIG_FRAMEBUFFER)
+=
framebuffer.o
common-obj-$(CONFIG_MILKYMIST)
+=
milkymist-vgafb.o
common-obj-$(CONFIG_ZAURUS)
+=
tc6393xb.o
ifeq
($(CONFIG_GLX),y)
common-obj-$(CONFIG_MILKYMIST)
+=
milkymist-tmu2.o
endif
obj-$(CONFIG_OMAP)
+=
omap_dss.o
obj-$(CONFIG_OMAP)
+=
omap_lcdc.o
obj-$(CONFIG_PXA2XX)
+=
pxa2xx_lcd.o
obj-$(CONFIG_SM501)
+=
sm501.o
obj-$(CONFIG_TCX)
+=
tcx.o
obj-$(CONFIG_VGA)
+=
vga.o
common-obj-$(CONFIG_QXL)
+=
qxl-logger.o qxl-render.o
obj-$(CONFIG_QXL)
+=
qxl.o
hw/blizzard.c
→
hw/
display/
blizzard.c
浏览文件 @
fc97bb5b
文件已移动
hw/exynos4210_fimd.c
→
hw/
display/
exynos4210_fimd.c
浏览文件 @
fc97bb5b
...
...
@@ -23,7 +23,6 @@
*/
#include "qemu-common.h"
#include "exec/cpu-all.h"
#include "hw/sysbus.h"
#include "ui/console.h"
#include "ui/pixel_ops.h"
...
...
@@ -783,7 +782,7 @@ static void glue(draw_line_palette_, N)(Exynos4210fimdWindow *w, uint8_t *src, \
rgba p, p_old; \
int i; \
do { \
data = ldq_raw((void *)src
); \
memcpy(&data, src, sizeof(data)
); \
src += 8; \
fimd_swap_data(swap, &data); \
for (i = (64 / (N) - 1); i >= 0; i--) { \
...
...
@@ -812,7 +811,7 @@ static void glue(draw_line_, N)(Exynos4210fimdWindow *w, uint8_t *src, \
rgba p, p_old; \
int i; \
do { \
data = ldq_raw((void *)src
); \
memcpy(&data, src, sizeof(data)
); \
src += 8; \
fimd_swap_data(swap, &data); \
for (i = (64 / (N) - 1); i >= 0; i--) { \
...
...
hw/framebuffer.c
→
hw/
display/
framebuffer.c
浏览文件 @
fc97bb5b
文件已移动
hw/milkymist-tmu2.c
→
hw/
display/
milkymist-tmu2.c
浏览文件 @
fc97bb5b
文件已移动
hw/milkymist-vgafb.c
→
hw/
display/
milkymist-vgafb.c
浏览文件 @
fc97bb5b
文件已移动
hw/omap_dss.c
→
hw/
display/
omap_dss.c
浏览文件 @
fc97bb5b
文件已移动
hw/omap_lcdc.c
→
hw/
display/
omap_lcdc.c
浏览文件 @
fc97bb5b
文件已移动
hw/pxa2xx_lcd.c
→
hw/
display/
pxa2xx_lcd.c
浏览文件 @
fc97bb5b
文件已移动
hw/qxl-logger.c
→
hw/
display/
qxl-logger.c
浏览文件 @
fc97bb5b
文件已移动
hw/qxl-render.c
→
hw/
display/
qxl-render.c
浏览文件 @
fc97bb5b
文件已移动
hw/qxl.c
→
hw/
display/
qxl.c
浏览文件 @
fc97bb5b
文件已移动
hw/sm501.c
→
hw/
display/
sm501.c
浏览文件 @
fc97bb5b
文件已移动
hw/tc6393xb.c
→
hw/
display/
tc6393xb.c
浏览文件 @
fc97bb5b
文件已移动
hw/tcx.c
→
hw/
display/
tcx.c
浏览文件 @
fc97bb5b
文件已移动
hw/vga.c
→
hw/
display/
vga.c
浏览文件 @
fc97bb5b
文件已移动
hw/i386/Makefile.objs
浏览文件 @
fc97bb5b
...
...
@@ -7,7 +7,6 @@ obj-$(CONFIG_XEN) += xen_platform.o xen_apic.o
obj-$(CONFIG_XEN_PCI_PASSTHROUGH)
+=
xen-host-pci-device.o
obj-$(CONFIG_XEN_PCI_PASSTHROUGH)
+=
xen_pt.o xen_pt_config_init.o xen_pt_msi.o
obj-y
+=
kvm/
obj-$(CONFIG_SPICE)
+=
qxl.o qxl-logger.o qxl-render.o
obj-y
+=
pc-testdev.o
obj-y
:=
$(
addprefix
../,
$
(
obj-y
))
...
...
hw/lm32/Makefile.objs
浏览文件 @
fc97bb5b
...
...
@@ -9,10 +9,7 @@ obj-y += milkymist-memcard.o
obj-y
+=
milkymist-pfpu.o
obj-y
+=
milkymist-softusb.o
obj-y
+=
milkymist-sysctl.o
obj-$(CONFIG_GLX)
+=
milkymist-tmu2.o
obj-y
+=
milkymist-uart.o
obj-y
+=
milkymist-vgafb.o
obj-y
+=
framebuffer.o
obj-y
:=
$(
addprefix
../,
$
(
obj-y
))
...
...
hw/milkymist-vgafb_template.h
浏览文件 @
fc97bb5b
...
...
@@ -61,7 +61,7 @@ static void glue(draw_line_, BITS)(void *opaque, uint8_t *d, const uint8_t *s,
uint8_t
r
,
g
,
b
;
while
(
width
--
)
{
rgb565
=
lduw_raw
(
s
);
memcpy
(
&
rgb565
,
s
,
sizeof
(
rgb565
)
);
r
=
((
rgb565
>>
11
)
&
0x1f
)
<<
3
;
g
=
((
rgb565
>>
5
)
&
0x3f
)
<<
2
;
b
=
((
rgb565
>>
0
)
&
0x1f
)
<<
3
;
...
...
hw/sh4/Makefile.objs
浏览文件 @
fc97bb5b
obj-y
+=
sh_timer.o sh_serial.o sh_intc.o sh_pci.o
sm501.o
obj-y
+=
sh_timer.o sh_serial.o sh_intc.o sh_pci.o
obj-y
:=
$(
addprefix
../,
$
(
obj-y
))
...
...
hw/sparc/Makefile.objs
浏览文件 @
fc97bb5b
obj-y
=
tcx.o
sun4m_iommu.o slavio_intctl.o
obj-y
=
sun4m_iommu.o slavio_intctl.o
obj-y
+=
slavio_timer.o slavio_misc.o sparc32_dma.o
obj-y
+=
eccmemctl.o sbi.o sun4c_intctl.o
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录