aboutsummaryrefslogtreecommitdiff
path: root/vl.h
diff options
context:
space:
mode:
authorbalrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>2007-05-09 20:25:36 +0000
committerbalrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>2007-05-09 20:25:36 +0000
commit9e315fa93c14d6da7dc5b8fef193a671b51defd8 (patch)
tree9a458ee6e0a5ffa5d2487a0d7600bb213daec899 /vl.h
parentf54f432ec7197ffe7e077fcb5cc6557aa21c9ffd (diff)
downloadqemu-9e315fa93c14d6da7dc5b8fef193a671b51defd8.zip
qemu-9e315fa93c14d6da7dc5b8fef193a671b51defd8.tar.gz
qemu-9e315fa93c14d6da7dc5b8fef193a671b51defd8.tar.bz2
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 'vl.h')
-rw-r--r--vl.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/vl.h b/vl.h
index f44eeab..171b02b 100644
--- a/vl.h
+++ b/vl.h
@@ -1552,12 +1552,12 @@ struct pcmcia_card_s {
int cis_len;
/* Only valid if attached */
- uint8_t (*attr_read)(void *state, uint16_t address);
- void (*attr_write)(void *state, uint16_t address, uint8_t value);
- uint16_t (*common_read)(void *state, uint16_t address);
- void (*common_write)(void *state, uint16_t address, uint16_t value);
- uint16_t (*io_read)(void *state, uint16_t address);
- void (*io_write)(void *state, uint16_t address, uint16_t value);
+ uint8_t (*attr_read)(void *state, uint32_t address);
+ void (*attr_write)(void *state, uint32_t address, uint8_t value);
+ uint16_t (*common_read)(void *state, uint32_t address);
+ void (*common_write)(void *state, uint32_t address, uint16_t value);
+ uint16_t (*io_read)(void *state, uint32_t address);
+ void (*io_write)(void *state, uint32_t address, uint16_t value);
};
#define CISTPL_DEVICE 0x01 /* 5V Device Information Tuple */