diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2013-04-05 16:17:59 +0100 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2013-04-05 16:17:59 +0100 |
commit | c3037774be5329e584d4d709b9df7e1799bba215 (patch) | |
tree | eb32a3bd74289a7c892aec565b3b7ff3b3c43787 /hw/apic.c | |
parent | bd7f92e59e7f40ddaeda40e55f7818c8121ecf1a (diff) | |
download | qemu-c3037774be5329e584d4d709b9df7e1799bba215.zip qemu-c3037774be5329e584d4d709b9df7e1799bba215.tar.gz qemu-c3037774be5329e584d4d709b9df7e1799bba215.tar.bz2 |
arm_gic: Fix sizes of state fields in preparation for vmstate support
In preparation for switching to vmstate for migration support, fix
the sizes of various GIC state fields. In particular, we replace all
the bitfields (which VMState can't deal with) with straightforward
uint8_t values which we do bit operations on. (The bitfields made
more sense when NCPU was set differently in different situations,
but we now always model at the architectural limit of 8.)
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Igor Mitsyanko <i.mitsyanko@gmail.com>
Reviewed-by: Andreas Färber <afaerber@suse.de>
Message-id: 1363975375-3166-3-git-send-email-peter.maydell@linaro.org
Diffstat (limited to 'hw/apic.c')
0 files changed, 0 insertions, 0 deletions