summaryrefslogtreecommitdiffstats
path: root/include/hw/i386
diff options
context:
space:
mode:
authorMichael S. Tsirkin2013-07-24 17:56:11 +0200
committerMichael S. Tsirkin2013-10-14 16:48:52 +0200
commit277e9340e6a1b0a0e8e988d2f0ac82b18b695c0b (patch)
tree1f930db0bb407e26a7fe7ca74e81b074db252cd0 /include/hw/i386
parentacpi/piix: add macros for acpi property names (diff)
downloadqemu-277e9340e6a1b0a0e8e988d2f0ac82b18b695c0b.tar.gz
qemu-277e9340e6a1b0a0e8e988d2f0ac82b18b695c0b.tar.xz
qemu-277e9340e6a1b0a0e8e988d2f0ac82b18b695c0b.zip
piix: APIs for pc guest info
This adds APIs that will be used to fill in guest acpi tables. Some required information is still lacking in QOM, so we fall back on lookups by type and returning explicit types. Reviewed-by: Gerd Hoffmann <kraxel@redhat.com> Tested-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Igor Mammedov <imammedo@redhat.com> Tested-by: Igor Mammedov <imammedo@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'include/hw/i386')
-rw-r--r--include/hw/i386/pc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hw/i386/pc.h b/include/hw/i386/pc.h
index 5aefc5ba2c..95857bee81 100644
--- a/include/hw/i386/pc.h
+++ b/include/hw/i386/pc.h
@@ -192,6 +192,7 @@ PCIBus *i440fx_init(PCII440FXState **pi440fx_state, int *piix_devfn,
MemoryRegion *pci_memory,
MemoryRegion *ram_memory);
+PCIBus *find_i440fx(void);
/* piix4.c */
extern PCIDevice *piix4_dev;
int piix4_init(PCIBus *bus, ISABus **isa_bus, int devfn);