mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-09 02:24:58 -06:00
pxa2xx_pcmcia.c: convert common memory space to memory API
Signed-off-by: Benoit Canet <benoit.canet@gmail.com> Signed-off-by: Avi Kivity <avi@redhat.com>
This commit is contained in:
parent
55a8b801a4
commit
354a8c0676
3 changed files with 21 additions and 23 deletions
3
hw/pxa.h
3
hw/pxa.h
|
@ -93,7 +93,8 @@ void pxa2xx_mmci_handlers(PXA2xxMMCIState *s, qemu_irq readonly,
|
|||
|
||||
/* pxa2xx_pcmcia.c */
|
||||
typedef struct PXA2xxPCMCIAState PXA2xxPCMCIAState;
|
||||
PXA2xxPCMCIAState *pxa2xx_pcmcia_init(target_phys_addr_t base);
|
||||
PXA2xxPCMCIAState *pxa2xx_pcmcia_init(MemoryRegion *sysmem,
|
||||
target_phys_addr_t base);
|
||||
int pxa2xx_pcmcia_attach(void *opaque, PCMCIACardState *card);
|
||||
int pxa2xx_pcmcia_dettach(void *opaque);
|
||||
void pxa2xx_pcmcia_set_irq_cb(void *opaque, qemu_irq irq, qemu_irq cd_irq);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue