1 /* 2 * QEMU AHCI Emulation (PCI devices) 3 * 4 * SPDX-License-Identifier: GPL-2.0-or-later 5 */ 6 #ifndef HW_IDE_AHCI_PCI_H 7 #define HW_IDE_AHCI_PCI_H 8 9 #include "qom/object.h" 10 #include "hw/ide/ahci.h" 11 #include "hw/pci/pci_device.h" 12 #include "hw/irq.h" 13 14 #define TYPE_ICH9_AHCI "ich9-ahci" 15 OBJECT_DECLARE_SIMPLE_TYPE(AHCIPCIState, ICH9_AHCI) 16 17 struct AHCIPCIState { 18 PCIDevice parent_obj; 19 20 AHCIState ahci; 21 IRQState irq; 22 }; 23 24 #endif 25