diff options
author | balrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-05-09 20:25:36 +0000 |
---|---|---|
committer | balrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-05-09 20:25:36 +0000 |
commit | 9e315fa93c14d6da7dc5b8fef193a671b51defd8 (patch) | |
tree | 9a458ee6e0a5ffa5d2487a0d7600bb213daec899 /hw | |
parent | f54f432ec7197ffe7e077fcb5cc6557aa21c9ffd (diff) | |
download | qemu-9e315fa93c14d6da7dc5b8fef193a671b51defd8.tar.gz qemu-9e315fa93c14d6da7dc5b8fef193a671b51defd8.tar.bz2 qemu-9e315fa93c14d6da7dc5b8fef193a671b51defd8.zip |
PCMCIA addresses are 26-bit, widen the address type from 16 to 32 bits.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2797 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw')
-rw-r--r-- | hw/ide.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -3071,7 +3071,7 @@ static void md_reset(struct md_s *s) ide_reset(s->ide); } -static uint8_t md_attr_read(void *opaque, uint16_t at) +static uint8_t md_attr_read(void *opaque, uint32_t at) { struct md_s *s = (struct md_s *) opaque; if (at < s->attr_base) { @@ -3104,7 +3104,7 @@ static uint8_t md_attr_read(void *opaque, uint16_t at) return 0; } -static void md_attr_write(void *opaque, uint16_t at, uint8_t value) +static void md_attr_write(void *opaque, uint32_t at, uint8_t value) { struct md_s *s = (struct md_s *) opaque; at -= s->attr_base; @@ -3135,7 +3135,7 @@ static void md_attr_write(void *opaque, uint16_t at, uint8_t value) } } -static uint16_t md_common_read(void *opaque, uint16_t at) +static uint16_t md_common_read(void *opaque, uint32_t at) { struct md_s *s = (struct md_s *) opaque; uint16_t ret; @@ -3194,7 +3194,7 @@ static uint16_t md_common_read(void *opaque, uint16_t at) return 0; } -static void md_common_write(void *opaque, uint16_t at, uint16_t value) +static void md_common_write(void *opaque, uint32_t at, uint16_t value) { struct md_s *s = (struct md_s *) opaque; at -= s->io_base; |