hw/arm_gic: Remove NVIC ifdefs from gic_state struct
commitacd684280f9e91e8199d0b2126d4b057676dafec
authorPeter Maydell <peter.maydell@linaro.org>
Wed, 2 May 2012 16:49:38 +0000 (2 16:49 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 19 Jun 2012 13:24:44 +0000 (19 13:24 +0000)
treed9f50ecc22d797e9a50b3467c3bd5fba81bfbca7
parent9b574c29c199dbcf5f81fa14d1c692a23463ca7e
hw/arm_gic: Remove NVIC ifdefs from gic_state struct

Remove some NVIC ifdefs from the gic_state struct and its
state save/load functions. This means there are some fields
in it which are present for the NVIC but not used, but means
it always has the same layout and can be pulled out into a
common subclass.

Note that the addition of irq_target[] to the save/load
struct for the NVIC requires a vmstate version bump.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Andreas Färber <afaerber@suse.de>
hw/arm_gic.c