diff options
author | Avi Kivity <avi@redhat.com> | 2011-10-03 14:14:20 +0200 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2011-10-17 15:59:18 +0200 |
commit | eb2fefbc44d8b25ff94f697adf60752ae2864c93 (patch) | |
tree | c4ef198a1187a2c6157c39e06f2abb2ee51cd37a /hw/strongarm.h | |
parent | 7cc09e6c4b51978a656ff5e6c0a5faafec2d82e6 (diff) |
strongarm: convert to memory API
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'hw/strongarm.h')
-rw-r--r-- | hw/strongarm.h | 6 |
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 |