pcihp.h (97414988490de91673c51e6aa88a9f507e6a1edc) pcihp.h (caf108bc587908f7608729f39639dccdfa53010b)
1/*
2 * QEMU<->ACPI BIOS PCI hotplug interface
3 *
4 * QEMU supports PCI hotplug via ACPI. This module
5 * implements the interface between QEMU and the ACPI BIOS.
6 * Interface specification - see docs/specs/acpi_pci_hotplug.txt
7 *
8 * Copyright (c) 2013, Red Hat Inc, Michael S. Tsirkin (mst@redhat.com)

--- 41 unchanged lines hidden (view full) ---

50 PCIBus *root;
51 MemoryRegion io;
52 bool legacy_piix;
53 uint16_t io_base;
54 uint16_t io_len;
55} AcpiPciHpState;
56
57void acpi_pcihp_init(Object *owner, AcpiPciHpState *, PCIBus *root,
1/*
2 * QEMU<->ACPI BIOS PCI hotplug interface
3 *
4 * QEMU supports PCI hotplug via ACPI. This module
5 * implements the interface between QEMU and the ACPI BIOS.
6 * Interface specification - see docs/specs/acpi_pci_hotplug.txt
7 *
8 * Copyright (c) 2013, Red Hat Inc, Michael S. Tsirkin (mst@redhat.com)

--- 41 unchanged lines hidden (view full) ---

50 PCIBus *root;
51 MemoryRegion io;
52 bool legacy_piix;
53 uint16_t io_base;
54 uint16_t io_len;
55} AcpiPciHpState;
56
57void acpi_pcihp_init(Object *owner, AcpiPciHpState *, PCIBus *root,
58 MemoryRegion *address_space_io, bool bridges_enabled);
58 MemoryRegion *address_space_io, bool bridges_enabled,
59 uint16_t io_base);
59
60void acpi_pcihp_device_pre_plug_cb(HotplugHandler *hotplug_dev,
61 DeviceState *dev, Error **errp);
62void acpi_pcihp_device_plug_cb(HotplugHandler *hotplug_dev, AcpiPciHpState *s,
63 DeviceState *dev, Error **errp);
64void acpi_pcihp_device_unplug_cb(HotplugHandler *hotplug_dev, AcpiPciHpState *s,
65 DeviceState *dev, Error **errp);
66void acpi_pcihp_device_unplug_request_cb(HotplugHandler *hotplug_dev,

--- 22 unchanged lines hidden ---
60
61void acpi_pcihp_device_pre_plug_cb(HotplugHandler *hotplug_dev,
62 DeviceState *dev, Error **errp);
63void acpi_pcihp_device_plug_cb(HotplugHandler *hotplug_dev, AcpiPciHpState *s,
64 DeviceState *dev, Error **errp);
65void acpi_pcihp_device_unplug_cb(HotplugHandler *hotplug_dev, AcpiPciHpState *s,
66 DeviceState *dev, Error **errp);
67void acpi_pcihp_device_unplug_request_cb(HotplugHandler *hotplug_dev,

--- 22 unchanged lines hidden ---