qemu-patch-raspberry4/hw/ide/pci.h

19 lines
466 B
C
Raw Normal View History

#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