diff options
author | BALATON Zoltan <balaton@eik.bme.hu> | 2019-01-25 14:52:11 -0500 |
---|---|---|
committer | John Snow <jsnow@redhat.com> | 2019-01-25 14:52:11 -0500 |
commit | c9ebc75dc24f99e881414e7f35544041f678235a (patch) | |
tree | b65d1de3d381547bfc4fbff70b8200b74631d971 /include/hw/ide | |
parent | e210ec87b93cf94212b5f522d514115dc3604975 (diff) | |
download | qemu-c9ebc75dc24f99e881414e7f35544041f678235a.zip qemu-c9ebc75dc24f99e881414e7f35544041f678235a.tar.gz qemu-c9ebc75dc24f99e881414e7f35544041f678235a.tar.bz2 |
cmd646: Move PCI IDE specific functions to ide/pci.c
The io mem ops callbacks are not specific to CMD646 but really follow
the PCI IDE spec so move these from cmd646.c to pci.c to allow other
PCI IDE implementations to use them.
Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Tested-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reviewed-by: John Snow <jsnow@redhat.com>
Message-id: a2b1b2b74afdc78330b8b75605687f683a249635.1547166960.git.balaton@eik.bme.hu
Signed-off-by: John Snow <jsnow@redhat.com>
Diffstat (limited to 'include/hw/ide')
-rw-r--r-- | include/hw/ide/pci.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/hw/ide/pci.h b/include/hw/ide/pci.h index 013d793..3110633 100644 --- a/include/hw/ide/pci.h +++ b/include/hw/ide/pci.h @@ -71,4 +71,6 @@ extern MemoryRegionOps bmdma_addr_ioport_ops; void pci_ide_create_devs(PCIDevice *dev, DriveInfo **hd_table); extern const VMStateDescription vmstate_ide_pci; +extern const MemoryRegionOps pci_ide_cmd_le_ops; +extern const MemoryRegionOps pci_ide_data_le_ops; #endif |