diff options
author | Avi Kivity <avi@redhat.com> | 2010-11-21 18:29:52 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2010-11-24 17:31:06 +0100 |
commit | 9fbef1ac7cc888f29435e9f636b5dd14cd3260df (patch) | |
tree | d5a3df94b3c658f7f3a371a7b9eefd01f08e604a /hw/ide/pci.h | |
parent | 62155e2b51e3c282ddc30adbb6d7b8d3bb7c386e (diff) | |
download | qemu-9fbef1ac7cc888f29435e9f636b5dd14cd3260df.zip qemu-9fbef1ac7cc888f29435e9f636b5dd14cd3260df.tar.gz qemu-9fbef1ac7cc888f29435e9f636b5dd14cd3260df.tar.bz2 |
ide: convert bmdma address ioport to ioport_register()
cmd646, via compile tested, pci lightly boot tested.
Signed-off-by: Avi Kivity <avi@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'hw/ide/pci.h')
-rw-r--r-- | hw/ide/pci.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/hw/ide/pci.h b/hw/ide/pci.h index d46a95e..b81b26c 100644 --- a/hw/ide/pci.h +++ b/hw/ide/pci.h @@ -11,12 +11,7 @@ typedef struct PCIIDEState { } PCIIDEState; void bmdma_cmd_writeb(void *opaque, uint32_t addr, uint32_t val); -uint32_t bmdma_addr_readb(void *opaque, uint32_t addr); -void bmdma_addr_writeb(void *opaque, uint32_t addr, uint32_t val); -uint32_t bmdma_addr_readw(void *opaque, uint32_t addr); -void bmdma_addr_writew(void *opaque, uint32_t addr, uint32_t val); -uint32_t bmdma_addr_readl(void *opaque, uint32_t addr); -void bmdma_addr_writel(void *opaque, uint32_t addr, uint32_t val); +extern const IORangeOps bmdma_addr_ioport_ops; void pci_ide_create_devs(PCIDevice *dev, DriveInfo **hd_table); extern const VMStateDescription vmstate_ide_pci; |