qemu/hw/arm
Peter Maydell 4cc35614a0 target-arm: Store AIF bits in env->pstate for AArch32
To avoid complication in code that otherwise would not need to
care about whether EL1 is AArch32 or AArch64, we should store
the interrupt mask bits (CPSR.AIF in AArch32 and PSTATE.DAIF
in AArch64) in one place consistently regardless of EL1's mode.
Since AArch64 has an extra enable bit (D for debug exceptions)
which isn't visible in AArch32, this means we need to keep
the enables in env->pstate. (This is also consistent with the
general approach we're taking that we handle 32 bit CPUs as
being like AArch64/ARMv8 CPUs but which only run in 32 bit mode.)

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
2014-02-26 17:20:06 +00:00
..
allwinner-a10.c hw/arm/allwinner-a10: initialize EMAC 2014-02-08 14:50:48 +00:00
armv7m.c armv7m: Don't enforce use of kernel for qtest 2013-11-05 17:47:29 +01:00
boot.c exec: Make stl_phys_notdirty input an AddressSpace 2014-02-11 22:57:24 +10:00
collie.c hw: Clean up bogus default boot order 2013-08-28 10:16:47 +03:00
cubieboard.c hw/arm/allwinner-a10: initialize EMAC 2014-02-08 14:50:48 +00:00
digic_boards.c hw/arm/digic: add NOR ROM support 2013-12-17 20:12:51 +00:00
digic.c hw/arm/digic: add UART support 2013-12-17 20:12:51 +00:00
exynos4_boards.c exynos4_boards: Silence lack of -smp 2 warning for qtest 2013-11-05 17:47:29 +01:00
exynos4210.c i2c: Rename i2c_bus to I2CBus 2014-02-14 16:22:31 +01:00
gumstix.c gumstix: Don't enforce use of -pflash for qtest 2013-11-05 17:47:28 +01:00
highbank.c exec: Make stl_phys_notdirty input an AddressSpace 2014-02-11 22:57:24 +10: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: Fix duplicate array values for key 'space' 2014-01-01 18:03:55 +04:00
Makefile.objs hw/arm: add cubieboard support 2013-12-17 20:12:51 +00:00
musicpal.c hw/arm/musicpal: Remove nonexistent CDTP2, CDTP3 registers 2014-02-26 17:19:59 +00:00
nseries.c i2c: Rename i2c_bus to I2CBus 2014-02-14 16:22:31 +01: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 target-arm: Drop success/fail return from cpreg read and write functions 2014-02-20 10:35:54 +00:00
pxa2xx.c target-arm: Store AIF bits in env->pstate for AArch32 2014-02-26 17:20:06 +00:00
realview.c i2c: Rename i2c_bus to I2CBus 2014-02-14 16:22:31 +01:00
spitz.c i2c: Rename i2c_bus to I2CBus 2014-02-14 16:22:31 +01:00
stellaris.c i2c: Rename i2c_bus to I2CBus 2014-02-14 16:22:31 +01: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 tosa: QOM'ify DAC 2014-02-14 16:22:32 +01:00
versatilepb.c i2c: Rename i2c_bus to I2CBus 2014-02-14 16:22:31 +01:00
vexpress.c device_tree: s/qemu_devtree/qemu_fdt globally 2013-12-20 01:58:11 +01:00
virt.c device_tree: s/qemu_devtree/qemu_fdt globally 2013-12-20 01:58:11 +01:00
xilinx_zynq.c ZYNQ: Implement board MIDR control for Zynq 2014-01-31 14:47:33 +00:00
z2.c z2: QOM'ify AER915 2014-02-14 16:22:32 +01:00