aboutsummaryrefslogtreecommitdiff
path: root/include/hw/ide/isa.h
blob: 1cd0ff1fa6fc14199f99feb117bdf1575d9d9364 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/*
 * QEMU IDE Emulation: ISA Bus support.
 *
 * Copyright (c) 2003 Fabrice Bellard
 * Copyright (c) 2006 Openedhand Ltd.
 *
 * SPDX-License-Identifier: MIT
 */
#ifndef HW_IDE_ISA_H
#define HW_IDE_ISA_H

#include "qom/object.h"

#define TYPE_ISA_IDE "isa-ide"
OBJECT_DECLARE_SIMPLE_TYPE(ISAIDEState, ISA_IDE)

ISADevice *isa_ide_init(ISABus *bus, int iobase, int iobase2, int irqnum,
                        DriveInfo *hd0, DriveInfo *hd1);

#endif