]> git.ipfire.org Git - thirdparty/qemu.git/blame - include/hw/southbridge/piix.h
hw/isa/piix4: Move piix4_create() to hw/isa/piix4.c
[thirdparty/qemu.git] / include / hw / southbridge / piix.h
CommitLineData
fff123b8
PMD
1/*
2 * QEMU PIIX South Bridge Emulation
3 *
4 * Copyright (c) 2006 Fabrice Bellard
e29f2379 5 * Copyright (c) 2018 Hervé Poussineau
fff123b8
PMD
6 *
7 * This work is licensed under the terms of the GNU GPL, version 2 or later.
8 * See the COPYING file in the top-level directory.
9 *
10 */
11
12#ifndef HW_SOUTHBRIDGE_PIIX_H
13#define HW_SOUTHBRIDGE_PIIX_H
14
15#define TYPE_PIIX4_PM "PIIX4_PM"
16
17I2CBus *piix4_pm_init(PCIBus *bus, int devfn, uint32_t smb_io_base,
18 qemu_irq sci_irq, qemu_irq smi_irq,
19 int smm_enabled, DeviceState **piix4_pm);
20
e29f2379
PMD
21extern PCIDevice *piix4_dev;
22
23DeviceState *piix4_create(PCIBus *pci_bus, ISABus **isa_bus,
24 I2CBus **smbus, size_t ide_buses);
25
fff123b8 26#endif