mirror of
https://github.com/qemu/qemu.git
synced 2024-12-11 20:53:51 +08:00
9fbef1ac7c
cmd646, via compile tested, pci lightly boot tested. Signed-off-by: Avi Kivity <avi@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
19 lines
466 B
C
19 lines
466 B
C
#ifndef HW_IDE_PCI_H
|
|
#define HW_IDE_PCI_H
|
|
|
|
#include <hw/ide/internal.h>
|
|
|
|
typedef struct PCIIDEState {
|
|
PCIDevice dev;
|
|
IDEBus bus[2];
|
|
BMDMAState bmdma[2];
|
|
uint32_t secondary; /* used only for cmd646 */
|
|
} PCIIDEState;
|
|
|
|
void bmdma_cmd_writeb(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;
|
|
#endif
|