1 ACPI_EXTRACT_ALL_CODE ssdp_pcihp_aml
3 DefinitionBlock ("ssdt-pcihp.aml", "SSDT", 0x01, "BXPC", "BXSSDTPCIHP", 0x1)
6 /****************************************************************
8 ****************************************************************/
10 /* Objects supplied by DSDT */
11 External(\_SB.PCI0, DeviceObj)
12 External(\_SB.PCI0.PCEJ, MethodObj)
16 /* Bulk generated PCI hotplug devices */
17 ACPI_EXTRACT_DEVICE_START ssdt_pcihp_start
18 ACPI_EXTRACT_DEVICE_END ssdt_pcihp_end
19 ACPI_EXTRACT_DEVICE_STRING ssdt_pcihp_name
21 // Method _EJ0 can be patched by BIOS to EJ0_
22 // at runtime, if the slot is detected to not support hotplug.
23 // Extract the offset of the address dword and the
24 // _EJ0 name to allow this patching.
26 ACPI_EXTRACT_NAME_BYTE_CONST ssdt_pcihp_id
28 ACPI_EXTRACT_NAME_DWORD_CONST ssdt_pcihp_adr
30 ACPI_EXTRACT_METHOD_STRING ssdt_pcihp_ej0