xemu/hw/arm
Peter Maydell f5fdcd6e58 hw/arm: Add 'virt' platform
Add 'virt' platform support corresponding to arch/arm/mach-virt
in the Linux kernel tree. This has no platform-specific code but
can use any device whose kernel driver is is able to work purely
from a device tree node. We use this to instantiate a minimal
set of devices: a GIC and some virtio-mmio transports.

Signed-off-by: John Rigby <john.rigby@linaro.org>
Reviewed-by: Christoffer Dall <christoffer.dall@linaro.org>
Message-id: 1385140638-10444-8-git-send-email-peter.maydell@linaro.org
[PMM:
 Significantly overhauled:
 * renamed user-facing machine to just "virt"
 * removed the A9 support (it can't work since the A9 has no
   generic timers)
 * added virtio-mmio transports instead of random set of 'soc' devices
   (though we retain a pl011 UART)
 * instead of updating io_base as we step through adding devices,
   define a memory map with an array (similar to vexpress)
 * similarly, define irqmap with an array
 * folded in some minor fixes from John's aarch64-support patch
 * rather than explicitly doing endian-swapping on FDT cells,
   use fdt APIs that let us just pass in host-endian values
   and let the fdt layer take care of the swapping
 * miscellaneous minor code cleanups and style fixes
]
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
2013-12-10 13:28:30 +00:00
..
armv7m.c armv7m: Don't enforce use of kernel for qtest 2013-11-05 17:47:29 +01:00
boot.c hw/arm/boot: Allow boards to provide an fdt blob 2013-12-10 13:28:30 +00:00
collie.c hw: Clean up bogus default boot order 2013-08-28 10:16:47 +03:00
exynos4_boards.c exynos4_boards: Silence lack of -smp 2 warning for qtest 2013-11-05 17:47:29 +01:00
exynos4210.c hw/arm/exynos4210: Don't use arm_pic_init_cpu() 2013-08-20 14:54:28 +01:00
gumstix.c gumstix: Don't enforce use of -pflash for qtest 2013-11-05 17:47:28 +01:00
highbank.c hw: Clean up bogus default boot order 2013-08-28 10:16:47 +03:00
integratorcp.c integrator/cp: add support for REFCNT register 2013-12-10 13:24:51 +00:00
kzm.c hw: Clean up bogus default boot order 2013-08-28 10:16:47 +03:00
mainstone.c mainstone: Don't enforce use of -pflash for qtest 2013-11-05 17:47:28 +01:00
Makefile.objs hw/arm: Add 'virt' platform 2013-12-10 13:28:30 +00:00
musicpal.c hw: Clean up bogus default boot order 2013-08-28 10:16:47 +03:00
nseries.c hw: Clean up bogus default boot order 2013-08-28 10:16:47 +03:00
omap1.c aio / timers: Switch entire codebase to the new timer API 2013-08-22 19:14:24 +02:00
omap2.c hw/arm/omap*: Don't use arm_pic_init_cpu() 2013-08-20 14:54:29 +01:00
omap_sx1.c omap_sx1: Don't enforce use of kernel or flash for qtest 2013-11-05 17:47:29 +01:00
palm.c palm: Don't enforce loading ROM or kernel for qtest 2013-11-05 17:47:29 +01:00
pxa2xx_gpio.c pxa2xx_gpio: QOM cast cleanup for PXA2xxGPIOInfo 2013-07-29 21:06:26 +02:00
pxa2xx_pic.c pxa2xx_pic: QOM cast cleanup for PXA2xxPICState 2013-07-29 21:06:26 +02:00
pxa2xx.c aio / timers: Switch entire codebase to the new timer API 2013-08-22 19:14:24 +02:00
realview.c hw: Clean up bogus default boot order 2013-08-28 10:16:47 +03:00
spitz.c pc,pci,virtio fixes and cleanups 2013-09-03 12:31:07 -05:00
stellaris.c pc,pci,virtio fixes and cleanups 2013-09-03 12:31:07 -05:00
strongarm.c aio / timers: Switch entire codebase to the new timer API 2013-08-22 19:14:24 +02:00
strongarm.h hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
tosa.c hw: Clean up bogus default boot order 2013-08-28 10:16:47 +03:00
versatilepb.c hw: Clean up bogus default boot order 2013-08-28 10:16:47 +03:00
vexpress.c hw: Clean up bogus default boot order 2013-08-28 10:16:47 +03:00
virt.c hw/arm: Add 'virt' platform 2013-12-10 13:28:30 +00:00
xilinx_zynq.c hw: Clean up bogus default boot order 2013-08-28 10:16:47 +03:00
z2.c z2: Don't enforce use of -pflash for qtest 2013-11-05 17:47:28 +01:00