qemu/include/hw/ide.h
<<
>>
Prefs
   1#ifndef HW_IDE_H
   2#define HW_IDE_H
   3
   4#include "hw/isa/isa.h"
   5#include "exec/memory.h"
   6
   7/* ide-isa.c */
   8ISADevice *isa_ide_init(ISABus *bus, int iobase, int iobase2, int isairq,
   9                        DriveInfo *hd0, DriveInfo *hd1);
  10
  11/* ide-pci.c */
  12int pci_piix3_xen_ide_unplug(DeviceState *dev, bool aux);
  13
  14/* ide-mmio.c */
  15void mmio_ide_init_drives(DeviceState *dev, DriveInfo *hd0, DriveInfo *hd1);
  16
  17int ide_get_geometry(BusState *bus, int unit,
  18                     int16_t *cyls, int8_t *heads, int8_t *secs);
  19int ide_get_bios_chs_trans(BusState *bus, int unit);
  20
  21/* ide/core.c */
  22void ide_drive_get(DriveInfo **hd, int max_bus);
  23
  24#endif /* HW_IDE_H */
  25