4 #include <hw/ide/internal.h>
6 typedef struct PCIIDEState
{
10 uint32_t secondary
; /* used only for cmd646 */
13 void bmdma_cmd_writeb(void *opaque
, uint32_t addr
, uint32_t val
);
14 uint32_t bmdma_addr_readb(void *opaque
, uint32_t addr
);
15 void bmdma_addr_writeb(void *opaque
, uint32_t addr
, uint32_t val
);
16 uint32_t bmdma_addr_readw(void *opaque
, uint32_t addr
);
17 void bmdma_addr_writew(void *opaque
, uint32_t addr
, uint32_t val
);
18 uint32_t bmdma_addr_readl(void *opaque
, uint32_t addr
);
19 void bmdma_addr_writel(void *opaque
, uint32_t addr
, uint32_t val
);
20 void pci_ide_create_devs(PCIDevice
*dev
, DriveInfo
**hd_table
);
22 extern const VMStateDescription vmstate_ide_pci
;