virtio-blk: use BDRV_REQ_REGISTERED_BUF optimization hint
[qemu/ar7.git] / include / hw / ide.h
blob60f1f4f71494c6666495670620f64875d20fc272
1 #ifndef HW_IDE_H
2 #define HW_IDE_H
4 #include "hw/isa/isa.h"
5 #include "exec/memory.h"
7 /* ide-isa.c */
8 ISADevice *isa_ide_init(ISABus *bus, int iobase, int iobase2, int isairq,
9 DriveInfo *hd0, DriveInfo *hd1);
11 /* ide-mmio.c */
12 void mmio_ide_init_drives(DeviceState *dev, DriveInfo *hd0, DriveInfo *hd1);
14 int ide_get_geometry(BusState *bus, int unit,
15 int16_t *cyls, int8_t *heads, int8_t *secs);
16 int ide_get_bios_chs_trans(BusState *bus, int unit);
18 /* ide/core.c */
19 void ide_drive_get(DriveInfo **hd, int max_bus);
21 #endif /* HW_IDE_H */