diff options
author | blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-06-08 16:45:23 +0000 |
---|---|---|
committer | blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-06-08 16:45:23 +0000 |
commit | 71db710f7ee00cf324153bbc203e6dad8c99850b (patch) | |
tree | 8366782c722140eaf2fd192105289e23f9cad88d /hw/ds1225y.c | |
parent | 740733bb939963e77dacda0367eb807dea1c4faf (diff) | |
download | qemu-71db710f7ee00cf324153bbc203e6dad8c99850b.zip qemu-71db710f7ee00cf324153bbc203e6dad8c99850b.tar.gz qemu-71db710f7ee00cf324153bbc203e6dad8c99850b.tar.bz2 |
Fix incorrect target_ulong use in hw devices
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2962 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/ds1225y.c')
-rw-r--r-- | hw/ds1225y.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/ds1225y.c b/hw/ds1225y.c index 48d6636..7851096 100644 --- a/hw/ds1225y.c +++ b/hw/ds1225y.c @@ -33,7 +33,7 @@ typedef enum struct ds1225y_t
{
- target_ulong mem_base;
+ target_phys_addr_t mem_base;
uint32_t capacity;
const char *filename;
QEMUFile *file;
@@ -99,7 +99,7 @@ static CPUWriteMemoryFunc *nvram_none[] = { };
/* Initialisation routine */
-ds1225y_t *ds1225y_init(target_ulong mem_base, const char *filename)
+ds1225y_t *ds1225y_init(target_phys_addr_t mem_base, const char *filename)
{
ds1225y_t *s;
int mem_index1, mem_index2;
|