xref: /openbmc/qemu/include/hw/ide/isa.h (revision 7d87775f)
1 /*
2  * QEMU IDE Emulation: ISA Bus support.
3  *
4  * Copyright (c) 2003 Fabrice Bellard
5  * Copyright (c) 2006 Openedhand Ltd.
6  *
7  * SPDX-License-Identifier: MIT
8  */
9 #ifndef HW_IDE_ISA_H
10 #define HW_IDE_ISA_H
11 
12 #include "qom/object.h"
13 
14 #define TYPE_ISA_IDE "isa-ide"
15 OBJECT_DECLARE_SIMPLE_TYPE(ISAIDEState, ISA_IDE)
16 
17 ISADevice *isa_ide_init(ISABus *bus, int iobase, int iobase2, int irqnum,
18                         DriveInfo *hd0, DriveInfo *hd1);
19 
20 #endif
21