[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v2 7/9] hw/vexpress.c: Instantiate the motherboard C
From: |
Peter Maydell |
Subject: |
[Qemu-devel] [PATCH v2 7/9] hw/vexpress.c: Instantiate the motherboard CLCD |
Date: |
Tue, 24 Jan 2012 12:39:18 +0000 |
Instantiate the CLCD on the vexpress motherboard as well as one on
the daughterboard -- the A15 daughterboard does not have a CLCD
and so relies on the motherboard one.
At the moment QEMU doesn't provide infrastructure for selecting
which display device gets to actually show graphics -- the first
one registered is it. Fortunately this works for the major use
case (Linux): if the daughterboard has a CLCD it will come first
and be used, otherwise we fall back to the motherboard CLCD.
So we don't (currently) need to implement the control register
which allows software to tell the mux which video output to pass
through to the outside world.
Signed-off-by: Peter Maydell <address@hidden>
---
hw/vexpress.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/hw/vexpress.c b/hw/vexpress.c
index 9033b50..9860085 100644
--- a/hw/vexpress.c
+++ b/hw/vexpress.c
@@ -282,7 +282,7 @@ static void vexpress_common_init(const VEDBoardInfo
*daughterboard,
/* VE_COMPACTFLASH: not modelled */
- /* VE_CLCD: not modelled (we use the daughterboard CLCD only) */
+ sysbus_create_simple("pl111", map[VE_CLCD], pic[14]);
/* VE_NORFLASH0: not modelled */
/* VE_NORFLASH0ALIAS: not modelled */
--
1.7.1
- [Qemu-devel] [PATCH v2 0/9] Add support for Cortex-A15 and vexpress-a15, Peter Maydell, 2012/01/24
- [Qemu-devel] [PATCH v2 7/9] hw/vexpress.c: Instantiate the motherboard CLCD,
Peter Maydell <=
- [Qemu-devel] [PATCH v2 3/9] hw/a15mpcore.c: Add Cortex-A15 private peripheral model, Peter Maydell, 2012/01/24
- [Qemu-devel] [PATCH v2 9/9] hw/vexpress.c: Add vexpress-a15 machine, Peter Maydell, 2012/01/24
- [Qemu-devel] [PATCH v2 4/9] hw/vexpress.c: Make motherboard peripheral memory map table-driven, Peter Maydell, 2012/01/24
- [Qemu-devel] [PATCH v2 5/9] hw/vexpress.c: Move secondary CPU boot code to SRAM, Peter Maydell, 2012/01/24
- [Qemu-devel] [PATCH v2 2/9] Add Cortex-A15 CPU definition, Peter Maydell, 2012/01/24