summaryrefslogtreecommitdiffstats
path: root/include/hw/cpu
diff options
context:
space:
mode:
authorPeter Crosthwaite2013-12-10 14:24:51 +0100
committerPeter Maydell2013-12-10 14:24:51 +0100
commit4c25f365ab3a4f7de0a49af5d39ddc9d459e245b (patch)
tree878f240dac9d7ec47e3b8f9ffc8e1c7dd26520bc /include/hw/cpu
parentcpu/a9mpcore: rename timerbusdev variable (diff)
downloadqemu-4c25f365ab3a4f7de0a49af5d39ddc9d459e245b.tar.gz
qemu-4c25f365ab3a4f7de0a49af5d39ddc9d459e245b.tar.xz
qemu-4c25f365ab3a4f7de0a49af5d39ddc9d459e245b.zip
cpu/a9mpcore: reorder operations/declarations
To make it consistent for easier code reading. The order in which variables are defined and functions are called is set to match the address map ordering. The new consistent order of doing stuff is: SCU -> GIC -> MPTimer -> WDT. 0 functional change. Signed-off-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Message-id: 8f31398e6d9a93f57291399f269039da1a77a2b5.1385969450.git.peter.crosthwaite@xilinx.com Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'include/hw/cpu')
-rw-r--r--include/hw/cpu/a9mpcore.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/hw/cpu/a9mpcore.h b/include/hw/cpu/a9mpcore.h
index 010489b98e..8eece07123 100644
--- a/include/hw/cpu/a9mpcore.h
+++ b/include/hw/cpu/a9mpcore.h
@@ -28,8 +28,8 @@ typedef struct A9MPPrivState {
MemoryRegion container;
uint32_t num_irq;
- GICState gic;
A9SCUState scu;
+ GICState gic;
ARMMPTimerState mptimer;
ARMMPTimerState wdt;
} A9MPPrivState;