mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-09-09 00:07:57 -06:00
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
This commit is contained in:
parent
f54f432ec7
commit
9e315fa93c
2 changed files with 10 additions and 10 deletions
12
vl.h
12
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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue