summary refs log tree commit diff stats
path: root/hw/pxa.h
diff options
context:
space:
mode:
authorAndreas Färber <afaerber@suse.de>2012-05-03 23:47:04 +0200
committerAndreas Färber <afaerber@suse.de>2012-06-04 23:00:40 +0200
commit43824588af2fa77f9586e16ef2f01d1990c6460e (patch)
treeb81b86b0e85995fd730c7e12b9e6ee0b27bb0bff /hw/pxa.h
parentdf90dadb4507afa31fdc85f94d8571e7aa25b80b (diff)
downloadfocaccia-qemu-43824588af2fa77f9586e16ef2f01d1990c6460e.tar.gz
focaccia-qemu-43824588af2fa77f9586e16ef2f01d1990c6460e.zip
pxa2xx: Use cpu_arm_init() and store ARMCPU
Also use cpu_reset() in place of cpu_state_reset().

Signed-off-by: Andreas Färber <afaerber@suse.de>
Acked-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/pxa.h')
-rw-r--r--hw/pxa.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/pxa.h b/hw/pxa.h
index 025be34f86..2be006d29c 100644
--- a/hw/pxa.h
+++ b/hw/pxa.h
@@ -122,7 +122,7 @@ typedef struct PXA2xxI2SState PXA2xxI2SState;
 typedef struct PXA2xxFIrState PXA2xxFIrState;
 
 typedef struct {
-    CPUARMState *env;
+    ARMCPU *cpu;
     DeviceState *pic;
     qemu_irq reset;
     MemoryRegion sdram;