qemu/include/hw/arm
Peter Maydell d8b1ae4237 hw/arm: new interface for devices which need to behave differently for kernel boot
For ARM we have a little minimalist bootloader in hw/arm/boot.c which
takes the place of firmware if we're directly booting a Linux kernel.
Unfortunately a few devices need special case handling in this situation
to do the initialization which on real hardware would be done by
firmware. (In particular if we're booting a kernel in NonSecure state
then we need to make a TZ-aware GIC put all its interrupts into Group 1,
or the guest will be unable to use them.)

Create a new QOM interface which can be implemented by devices which
need to do something different from their default reset behaviour.
The callback will be called after machine initialization and before
first reset.

Suggested-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Tested-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Message-id: 1441383782-24378-3-git-send-email-peter.maydell@linaro.org
2015-09-08 17:38:43 +01:00
..
allwinner-a10.h hw/arm/allwinner-a10: initialize EMAC 2014-02-08 14:50:48 +00:00
arm.h Stop including qemu-common.h in memory.h 2015-07-06 14:59:09 +02:00
digic.h hw/arm/digic: add UART support 2013-12-17 20:12:51 +00:00
exynos4210.h i2c: Rename i2c_bus to I2CBus 2014-02-14 16:22:31 +01:00
fdt.h hw/arm/sysbus-fdt: enable vfio-calxeda-xgmac dynamic instantiation 2015-06-19 14:17:44 +01:00
fsl-imx25.h i.MX: Add SOC support for i.MX25 2015-09-07 10:39:30 +01:00
fsl-imx31.h i.MX: Add i2C devices to i.MX31 SOC 2015-09-07 10:39:31 +01:00
linux-boot-if.h hw/arm: new interface for devices which need to behave differently for kernel boot 2015-09-08 17:38:43 +01:00
omap.h hw: Convert from BlockDriverState to BlockBackend, mostly 2014-10-20 14:02:25 +02:00
primecell.h hw: move headers to include/ 2013-04-08 18:13:10 +02:00
pxa.h hw: Convert from BlockDriverState to BlockBackend, mostly 2014-10-20 14:02:25 +02:00
sharpsl.h hw: move headers to include/ 2013-04-08 18:13:10 +02:00
soc_dma.h hw: move headers to include/ 2013-04-08 18:13:10 +02:00
stm32f205_soc.h stm32f205: Fix SoC type name 2015-04-13 11:37:10 +01:00
sysbus-fdt.h hw/arm/sysbus-fdt: helpers for platform bus nodes addition 2015-06-02 15:44:28 +01:00
virt-acpi-build.h hw/arm/virt: Add high MMIO PCI region, 512G in size 2015-09-07 10:39:29 +01:00
virt.h hw/arm/virt: Add high MMIO PCI region, 512G in size 2015-09-07 10:39:29 +01:00
xlnx-zynqmp.h xlnx-zynqmp: Connect the four OCM banks 2015-08-25 15:45:06 +01:00