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