]> git.proxmox.com Git - qemu.git/blame - docs/specs/acpi_pci_hotplug.txt
net: Refactor net_client_types
[qemu.git] / docs / specs / acpi_pci_hotplug.txt
CommitLineData
9c046d96
MT
1QEMU<->ACPI BIOS PCI hotplug interface
2--------------------------------------
3
4QEMU supports PCI hotplug via ACPI, for PCI bus 0. This document
5describes the interface between QEMU and the ACPI BIOS.
6
7ACPI GPE block (IO ports 0xafe0-0xafe3, byte access):
8-----------------------------------------
9
10Generic ACPI GPE block. Bit 1 (GPE.1) used to notify PCI hotplug/eject
11event to ACPI BIOS, via SCI interrupt.
12
13PCI slot injection notification pending (IO port 0xae00-0xae03, 4-byte access):
14---------------------------------------------------------------
15Slot injection notification pending. One bit per slot.
16
17Read by ACPI BIOS GPE.1 handler to notify OS of injection
18events.
19
20PCI slot removal notification (IO port 0xae04-0xae07, 4-byte access):
21-----------------------------------------------------
22Slot removal notification pending. One bit per slot.
23
24Read by ACPI BIOS GPE.1 handler to notify OS of removal
25events.
26
27PCI device eject (IO port 0xae08-0xae0b, 4-byte access):
28----------------------------------------
29
30Used by ACPI BIOS _EJ0 method to request device removal. One bit per slot.
31Reads return 0.
32
33PCI removability status (IO port 0xae0c-0xae0f, 4-byte access):
34-----------------------------------------------
35
36Used by ACPI BIOS _RMV method to indicate removability status to OS. One
37bit per slot.