aboutsummaryrefslogtreecommitdiff
path: root/hw/strongarm.h
diff options
context:
space:
mode:
authorAnthony Liguori <aliguori@us.ibm.com>2011-10-20 08:43:00 -0500
committerAnthony Liguori <aliguori@us.ibm.com>2011-10-20 08:43:00 -0500
commit46cd37e7718f6c2c502228a61b3a0811c849c52f (patch)
tree9f294a290b09a548892b90151a571740297aaf7e /hw/strongarm.h
parent1f99b94932fcf0a543e46e24875fc2b3a8c304a7 (diff)
parentd08151bf7c022cec3e488d72ed9c429b04979f40 (diff)
Merge remote-tracking branch 'qemu-kvm-tmp/memory/batch' into staging
Diffstat (limited to 'hw/strongarm.h')
-rw-r--r--hw/strongarm.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/hw/strongarm.h b/hw/strongarm.h
index a81b110e23..684f61bee3 100644
--- a/hw/strongarm.h
+++ b/hw/strongarm.h
@@ -1,6 +1,8 @@
#ifndef _STRONGARM_H
#define _STRONGARM_H
+#include "memory.h"
+
#define SA_CS0 0x00000000
#define SA_CS1 0x08000000
#define SA_CS2 0x10000000
@@ -52,6 +54,7 @@ enum {
typedef struct {
CPUState *env;
+ MemoryRegion sdram;
DeviceState *pic;
DeviceState *gpio;
DeviceState *ppc;
@@ -59,6 +62,7 @@ typedef struct {
SSIBus *ssp_bus;
} StrongARMState;
-StrongARMState *sa1110_init(unsigned int sdram_size, const char *rev);
+StrongARMState *sa1110_init(MemoryRegion *sysmem,
+ unsigned int sdram_size, const char *rev);
#endif