4 #include "hw/isa/isa.h"
5 #include "exec/memory.h"
8 ISADevice
*isa_ide_init(ISABus
*bus
, int iobase
, int iobase2
, int isairq
,
9 DriveInfo
*hd0
, DriveInfo
*hd1
);
12 int pci_piix3_xen_ide_unplug(DeviceState
*dev
, bool aux
);
15 void mmio_ide_init_drives(DeviceState
*dev
, DriveInfo
*hd0
, DriveInfo
*hd1
);
17 int ide_get_geometry(BusState
*bus
, int unit
,
18 int16_t *cyls
, int8_t *heads
, int8_t *secs
);
19 int ide_get_bios_chs_trans(BusState
*bus
, int unit
);
22 void ide_drive_get(DriveInfo
**hd
, int max_bus
);