summaryrefslogtreecommitdiffstats
path: root/hw/pxa.h
diff options
context:
space:
mode:
authorRichard Henderson2011-08-12 01:07:19 +0200
committerAvi Kivity2011-10-02 16:14:02 +0200
commita6dc4c2d95f7b7bd95a53e8c2e524a8a202b4d1f (patch)
tree1460cb186c2179a19d8f410c147331cdbe198f9d /hw/pxa.h
parentppc440: Pass in address_space_mem to ppc440ep_init (diff)
downloadqemu-a6dc4c2d95f7b7bd95a53e8c2e524a8a202b4d1f.tar.gz
qemu-a6dc4c2d95f7b7bd95a53e8c2e524a8a202b4d1f.tar.xz
qemu-a6dc4c2d95f7b7bd95a53e8c2e524a8a202b4d1f.zip
pxa: Pass in address_space to pxa{255, 270}_init
Signed-off-by: Richard Henderson <rth@twiddle.net> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'hw/pxa.h')
-rw-r--r--hw/pxa.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/hw/pxa.h b/hw/pxa.h
index 859fc676e4..1204165549 100644
--- a/hw/pxa.h
+++ b/hw/pxa.h
@@ -9,6 +9,8 @@
#ifndef PXA_H
# define PXA_H "pxa.h"
+#include "memory.h"
+
/* Interrupt numbers */
# define PXA2XX_PIC_SSP3 0
# define PXA2XX_PIC_USBH2 2
@@ -173,7 +175,8 @@ struct PXA2xxI2SState {
# define PA_FMT "0x%08lx"
# define REG_FMT "0x" TARGET_FMT_plx
-PXA2xxState *pxa270_init(unsigned int sdram_size, const char *revision);
-PXA2xxState *pxa255_init(unsigned int sdram_size);
+PXA2xxState *pxa270_init(MemoryRegion *address_space, unsigned int sdram_size,
+ const char *revision);
+PXA2xxState *pxa255_init(MemoryRegion *address_space, unsigned int sdram_size);
#endif /* PXA_H */