MdePkg[all]  1.08
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Acpi20.h File Reference

Data Structures

struct  EFI_ACPI_2_0_GENERIC_ADDRESS_STRUCTURE
 
struct  EFI_ACPI_2_0_ROOT_SYSTEM_DESCRIPTION_POINTER
 
struct  EFI_ACPI_2_0_COMMON_HEADER
 
struct  EFI_ACPI_2_0_FIXED_ACPI_DESCRIPTION_TABLE
 
struct  EFI_ACPI_2_0_FIRMWARE_ACPI_CONTROL_STRUCTURE
 
struct  EFI_ACPI_2_0_MULTIPLE_APIC_DESCRIPTION_TABLE_HEADER
 
struct  EFI_ACPI_2_0_PROCESSOR_LOCAL_APIC_STRUCTURE
 
struct  EFI_ACPI_2_0_IO_APIC_STRUCTURE
 
struct  EFI_ACPI_2_0_INTERRUPT_SOURCE_OVERRIDE_STRUCTURE
 
struct  EFI_ACPI_2_0_NON_MASKABLE_INTERRUPT_SOURCE_STRUCTURE
 
struct  EFI_ACPI_2_0_LOCAL_APIC_NMI_STRUCTURE
 
struct  EFI_ACPI_2_0_LOCAL_APIC_ADDRESS_OVERRIDE_STRUCTURE
 
struct  EFI_ACPI_2_0_IO_SAPIC_STRUCTURE
 
struct  EFI_ACPI_2_0_PROCESSOR_LOCAL_SAPIC_STRUCTURE
 
struct  EFI_ACPI_2_0_PLATFORM_INTERRUPT_SOURCES_STRUCTURE
 
struct  EFI_ACPI_2_0_SMART_BATTERY_DESCRIPTION_TABLE
 
struct  EFI_ACPI_2_0_EMBEDDED_CONTROLLER_BOOT_RESOURCES_TABLE
 

Macros

#define ACPI_LARGE_GENERIC_REGISTER_DESCRIPTOR_NAME   0x02
 
#define ACPI_GENERIC_REGISTER_DESCRIPTOR   0x82
 
#define EFI_ACPI_2_0_SYSTEM_MEMORY   0
 
#define EFI_ACPI_2_0_SYSTEM_IO   1
 
#define EFI_ACPI_2_0_PCI_CONFIGURATION_SPACE   2
 
#define EFI_ACPI_2_0_EMBEDDED_CONTROLLER   3
 
#define EFI_ACPI_2_0_SMBUS   4
 
#define EFI_ACPI_2_0_FUNCTIONAL_FIXED_HARDWARE   0x7F
 
#define EFI_ACPI_2_0_ROOT_SYSTEM_DESCRIPTION_POINTER_REVISION   0x02
 
#define EFI_ACPI_2_0_ROOT_SYSTEM_DESCRIPTION_TABLE_REVISION   0x01
 
#define EFI_ACPI_2_0_EXTENDED_SYSTEM_DESCRIPTION_TABLE_REVISION   0x01
 
#define EFI_ACPI_2_0_FIXED_ACPI_DESCRIPTION_TABLE_REVISION   0x03
 
#define EFI_ACPI_2_0_PM_PROFILE_UNSPECIFIED   0
 
#define EFI_ACPI_2_0_PM_PROFILE_DESKTOP   1
 
#define EFI_ACPI_2_0_PM_PROFILE_MOBILE   2
 
#define EFI_ACPI_2_0_PM_PROFILE_WORKSTATION   3
 
#define EFI_ACPI_2_0_PM_PROFILE_ENTERPRISE_SERVER   4
 
#define EFI_ACPI_2_0_PM_PROFILE_SOHO_SERVER   5
 
#define EFI_ACPI_2_0_PM_PROFILE_APPLIANCE_PC   6
 
#define EFI_ACPI_2_0_LEGACY_DEVICES   BIT0
 
#define EFI_ACPI_2_0_8042   BIT1
 
#define EFI_ACPI_2_0_WBINVD   BIT0
 
#define EFI_ACPI_2_0_WBINVD_FLUSH   BIT1
 
#define EFI_ACPI_2_0_PROC_C1   BIT2
 
#define EFI_ACPI_2_0_P_LVL2_UP   BIT3
 
#define EFI_ACPI_2_0_PWR_BUTTON   BIT4
 
#define EFI_ACPI_2_0_SLP_BUTTON   BIT5
 
#define EFI_ACPI_2_0_FIX_RTC   BIT6
 
#define EFI_ACPI_2_0_RTC_S4   BIT7
 
#define EFI_ACPI_2_0_TMR_VAL_EXT   BIT8
 
#define EFI_ACPI_2_0_DCK_CAP   BIT9
 
#define EFI_ACPI_2_0_RESET_REG_SUP   BIT10
 
#define EFI_ACPI_2_0_SEALED_CASE   BIT11
 
#define EFI_ACPI_2_0_HEADLESS   BIT12
 
#define EFI_ACPI_2_0_CPU_SW_SLP   BIT13
 
#define EFI_ACPI_2_0_FIRMWARE_ACPI_CONTROL_STRUCTURE_VERSION   0x01
 
#define EFI_ACPI_2_0_S4BIOS_F   BIT0
 
#define EFI_ACPI_2_0_MULTIPLE_APIC_DESCRIPTION_TABLE_REVISION   0x01
 
#define EFI_ACPI_2_0_PCAT_COMPAT   BIT0
 
#define EFI_ACPI_2_0_PROCESSOR_LOCAL_APIC   0x00
 
#define EFI_ACPI_2_0_IO_APIC   0x01
 
#define EFI_ACPI_2_0_INTERRUPT_SOURCE_OVERRIDE   0x02
 
#define EFI_ACPI_2_0_NON_MASKABLE_INTERRUPT_SOURCE   0x03
 
#define EFI_ACPI_2_0_LOCAL_APIC_NMI   0x04
 
#define EFI_ACPI_2_0_LOCAL_APIC_ADDRESS_OVERRIDE   0x05
 
#define EFI_ACPI_2_0_IO_SAPIC   0x06
 
#define EFI_ACPI_2_0_PROCESSOR_LOCAL_SAPIC   0x07
 
#define EFI_ACPI_2_0_PLATFORM_INTERRUPT_SOURCES   0x08
 
#define EFI_ACPI_2_0_LOCAL_APIC_ENABLED   BIT0
 
#define EFI_ACPI_2_0_SMART_BATTERY_DESCRIPTION_TABLE_REVISION   0x01
 
#define EFI_ACPI_2_0_EMBEDDED_CONTROLLER_BOOT_RESOURCES_TABLE_REVISION   0x01
 
#define EFI_ACPI_2_0_ROOT_SYSTEM_DESCRIPTION_POINTER_SIGNATURE   SIGNATURE_64('R', 'S', 'D', ' ', 'P', 'T', 'R', ' ')
 
#define EFI_ACPI_2_0_MULTIPLE_SAPIC_DESCRIPTION_TABLE_SIGNATURE   SIGNATURE_32('A', 'P', 'I', 'C')
 
#define EFI_ACPI_2_0_SIMPLE_BOOT_FLAG_TABLE_SIGNATURE   SIGNATURE_32('B', 'O', 'O', 'T')
 
#define EFI_ACPI_2_0_DEBUG_PORT_TABLE_SIGNATURE   SIGNATURE_32('D', 'B', 'G', 'P')
 
#define EFI_ACPI_2_0_DIFFERENTIATED_SYSTEM_DESCRIPTION_TABLE_SIGNATURE   SIGNATURE_32('D', 'S', 'D', 'T')
 
#define EFI_ACPI_2_0_EMBEDDED_CONTROLLER_BOOT_RESOURCES_TABLE_SIGNATURE   SIGNATURE_32('E', 'C', 'D', 'T')
 
#define EFI_ACPI_2_0_EVENT_TIMER_DESCRIPTION_TABLE_SIGNATURE   SIGNATURE_32('E', 'T', 'D', 'T')
 
#define EFI_ACPI_2_0_FIRMWARE_ACPI_CONTROL_STRUCTURE_SIGNATURE   SIGNATURE_32('F', 'A', 'C', 'S')
 
#define EFI_ACPI_2_0_FIXED_ACPI_DESCRIPTION_TABLE_SIGNATURE   SIGNATURE_32('F', 'A', 'C', 'P')
 
#define EFI_ACPI_2_0_MULTIPLE_APIC_DESCRIPTION_TABLE_SIGNATURE   SIGNATURE_32('A', 'P', 'I', 'C')
 
#define EFI_ACPI_2_0_PERSISTENT_SYSTEM_DESCRIPTION_TABLE_SIGNATURE   SIGNATURE_32('P', 'S', 'D', 'T')
 
#define EFI_ACPI_2_0_ROOT_SYSTEM_DESCRIPTION_TABLE_SIGNATURE   SIGNATURE_32('R', 'S', 'D', 'T')
 
#define EFI_ACPI_2_0_SMART_BATTERY_SPECIFICATION_TABLE_SIGNATURE   SIGNATURE_32('S', 'B', 'S', 'T')
 
#define EFI_ACPI_2_0_SYSTEM_LOCALITY_INFORMATION_TABLE_SIGNATURE   SIGNATURE_32('S', 'L', 'I', 'T')
 
#define EFI_ACPI_2_0_SERIAL_PORT_CONSOLE_REDIRECTION_TABLE_SIGNATURE   SIGNATURE_32('S', 'P', 'C', 'R')
 
#define EFI_ACPI_2_0_STATIC_RESOURCE_AFFINITY_TABLE_SIGNATURE   SIGNATURE_32('S', 'R', 'A', 'T')
 
#define EFI_ACPI_2_0_SECONDARY_SYSTEM_DESCRIPTION_TABLE_SIGNATURE   SIGNATURE_32('S', 'S', 'D', 'T')
 
#define EFI_ACPI_2_0_SERVER_PLATFORM_MANAGEMENT_INTERFACE_SIGNATURE   SIGNATURE_32('S', 'P', 'M', 'I')
 
#define EFI_ACPI_2_0_EXTENDED_SYSTEM_DESCRIPTION_TABLE_SIGNATURE   SIGNATURE_32('X', 'S', 'D', 'T')
 
#define EFI_ACPI_2_0_MEMORY_MAPPED_CONFIGURATION_BASE_ADDRESS_TABLE_SIGNATURE   SIGNATURE_32('M', 'C', 'F', 'G')
 

Typedefs

struct {
   ACPI_LARGE_RESOURCE_HEADER   Header
 
   UINT8   AddressSpaceId
 
   UINT8   RegisterBitWidth
 
   UINT8   RegisterBitOffset
 
   UINT8   AddressSize
 
   UINT64   RegisterAddress
 
EFI_ACPI_GENERIC_REGISTER_DESCRIPTOR
 

Detailed Description

ACPI 2.0 definitions from the ACPI Specification, revision 2.0

Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent

Macro Definition Documentation

#define ACPI_GENERIC_REGISTER_DESCRIPTOR   0x82
#define ACPI_LARGE_GENERIC_REGISTER_DESCRIPTOR_NAME   0x02
#define EFI_ACPI_2_0_8042   BIT1
#define EFI_ACPI_2_0_CPU_SW_SLP   BIT13
#define EFI_ACPI_2_0_DCK_CAP   BIT9
#define EFI_ACPI_2_0_DEBUG_PORT_TABLE_SIGNATURE   SIGNATURE_32('D', 'B', 'G', 'P')

"DBGP" MS Bebug Port Spec

#define EFI_ACPI_2_0_DIFFERENTIATED_SYSTEM_DESCRIPTION_TABLE_SIGNATURE   SIGNATURE_32('D', 'S', 'D', 'T')

"DSDT" Differentiated System Description Table

#define EFI_ACPI_2_0_EMBEDDED_CONTROLLER   3
#define EFI_ACPI_2_0_EMBEDDED_CONTROLLER_BOOT_RESOURCES_TABLE_REVISION   0x01

ECDT Version (as defined in ACPI 2.0 spec.)

#define EFI_ACPI_2_0_EMBEDDED_CONTROLLER_BOOT_RESOURCES_TABLE_SIGNATURE   SIGNATURE_32('E', 'C', 'D', 'T')

"ECDT" Embedded Controller Boot Resources Table

#define EFI_ACPI_2_0_EVENT_TIMER_DESCRIPTION_TABLE_SIGNATURE   SIGNATURE_32('E', 'T', 'D', 'T')

"ETDT" Event Timer Description Table

#define EFI_ACPI_2_0_EXTENDED_SYSTEM_DESCRIPTION_TABLE_REVISION   0x01

XSDT Revision (as defined in ACPI 2.0 spec.)

#define EFI_ACPI_2_0_EXTENDED_SYSTEM_DESCRIPTION_TABLE_SIGNATURE   SIGNATURE_32('X', 'S', 'D', 'T')

"XSDT" Extended System Description Table

#define EFI_ACPI_2_0_FIRMWARE_ACPI_CONTROL_STRUCTURE_SIGNATURE   SIGNATURE_32('F', 'A', 'C', 'S')

"FACS" Firmware ACPI Control Structure

#define EFI_ACPI_2_0_FIRMWARE_ACPI_CONTROL_STRUCTURE_VERSION   0x01

FACS Version (as defined in ACPI 2.0 spec.)

#define EFI_ACPI_2_0_FIX_RTC   BIT6
#define EFI_ACPI_2_0_FIXED_ACPI_DESCRIPTION_TABLE_REVISION   0x03

FADT Version (as defined in ACPI 2.0 spec.)

#define EFI_ACPI_2_0_FIXED_ACPI_DESCRIPTION_TABLE_SIGNATURE   SIGNATURE_32('F', 'A', 'C', 'P')

"FACP" Fixed ACPI Description Table

#define EFI_ACPI_2_0_FUNCTIONAL_FIXED_HARDWARE   0x7F
#define EFI_ACPI_2_0_HEADLESS   BIT12
#define EFI_ACPI_2_0_INTERRUPT_SOURCE_OVERRIDE   0x02
#define EFI_ACPI_2_0_IO_APIC   0x01
#define EFI_ACPI_2_0_IO_SAPIC   0x06
#define EFI_ACPI_2_0_LEGACY_DEVICES   BIT0
#define EFI_ACPI_2_0_LOCAL_APIC_ADDRESS_OVERRIDE   0x05
#define EFI_ACPI_2_0_LOCAL_APIC_ENABLED   BIT0

Local APIC Flags. All other bits are reserved and must be 0.

#define EFI_ACPI_2_0_LOCAL_APIC_NMI   0x04
#define EFI_ACPI_2_0_MEMORY_MAPPED_CONFIGURATION_BASE_ADDRESS_TABLE_SIGNATURE   SIGNATURE_32('M', 'C', 'F', 'G')

"MCFG" PCI Express Memory Mapped Configuration Space Base Address Description Table

#define EFI_ACPI_2_0_MULTIPLE_APIC_DESCRIPTION_TABLE_REVISION   0x01

MADT Revision (as defined in ACPI 2.0 spec.)

#define EFI_ACPI_2_0_MULTIPLE_APIC_DESCRIPTION_TABLE_SIGNATURE   SIGNATURE_32('A', 'P', 'I', 'C')

"APIC" Multiple APIC Description Table

#define EFI_ACPI_2_0_MULTIPLE_SAPIC_DESCRIPTION_TABLE_SIGNATURE   SIGNATURE_32('A', 'P', 'I', 'C')

"SPIC" Multiple SAPIC Description Table

BUGBUG: Don't know where this came from except SR870BN4 uses it. #define EFI_ACPI_2_0_MULTIPLE_SAPIC_DESCRIPTION_TABLE_SIGNATURE 0x43495053

#define EFI_ACPI_2_0_NON_MASKABLE_INTERRUPT_SOURCE   0x03
#define EFI_ACPI_2_0_P_LVL2_UP   BIT3
#define EFI_ACPI_2_0_PCAT_COMPAT   BIT0

Multiple APIC Flags All other bits are reserved and must be set to 0.

#define EFI_ACPI_2_0_PCI_CONFIGURATION_SPACE   2
#define EFI_ACPI_2_0_PERSISTENT_SYSTEM_DESCRIPTION_TABLE_SIGNATURE   SIGNATURE_32('P', 'S', 'D', 'T')

"PSDT" Persistent System Description Table

#define EFI_ACPI_2_0_PLATFORM_INTERRUPT_SOURCES   0x08
#define EFI_ACPI_2_0_PM_PROFILE_APPLIANCE_PC   6
#define EFI_ACPI_2_0_PM_PROFILE_DESKTOP   1
#define EFI_ACPI_2_0_PM_PROFILE_ENTERPRISE_SERVER   4
#define EFI_ACPI_2_0_PM_PROFILE_MOBILE   2
#define EFI_ACPI_2_0_PM_PROFILE_SOHO_SERVER   5
#define EFI_ACPI_2_0_PM_PROFILE_UNSPECIFIED   0
#define EFI_ACPI_2_0_PM_PROFILE_WORKSTATION   3
#define EFI_ACPI_2_0_PROC_C1   BIT2
#define EFI_ACPI_2_0_PROCESSOR_LOCAL_APIC   0x00
#define EFI_ACPI_2_0_PROCESSOR_LOCAL_SAPIC   0x07
#define EFI_ACPI_2_0_PWR_BUTTON   BIT4
#define EFI_ACPI_2_0_RESET_REG_SUP   BIT10
#define EFI_ACPI_2_0_ROOT_SYSTEM_DESCRIPTION_POINTER_REVISION   0x02

RSD_PTR Revision (as defined in ACPI 2.0 spec.)

#define EFI_ACPI_2_0_ROOT_SYSTEM_DESCRIPTION_POINTER_SIGNATURE   SIGNATURE_64('R', 'S', 'D', ' ', 'P', 'T', 'R', ' ')

"RSD PTR " Root System Description Pointer

#define EFI_ACPI_2_0_ROOT_SYSTEM_DESCRIPTION_TABLE_REVISION   0x01

RSDT Revision (as defined in ACPI 2.0 spec.)

#define EFI_ACPI_2_0_ROOT_SYSTEM_DESCRIPTION_TABLE_SIGNATURE   SIGNATURE_32('R', 'S', 'D', 'T')

"RSDT" Root System Description Table

#define EFI_ACPI_2_0_RTC_S4   BIT7
#define EFI_ACPI_2_0_S4BIOS_F   BIT0

Firmware Control Structure Feature Flags All other bits are reserved and must be set to 0.

#define EFI_ACPI_2_0_SEALED_CASE   BIT11
#define EFI_ACPI_2_0_SECONDARY_SYSTEM_DESCRIPTION_TABLE_SIGNATURE   SIGNATURE_32('S', 'S', 'D', 'T')

"SSDT" Secondary System Description Table

#define EFI_ACPI_2_0_SERIAL_PORT_CONSOLE_REDIRECTION_TABLE_SIGNATURE   SIGNATURE_32('S', 'P', 'C', 'R')

"SPCR" Serial Port Console Redirection Table

#define EFI_ACPI_2_0_SERVER_PLATFORM_MANAGEMENT_INTERFACE_SIGNATURE   SIGNATURE_32('S', 'P', 'M', 'I')

"SPMI" Server Platform Management Interface Table

#define EFI_ACPI_2_0_SIMPLE_BOOT_FLAG_TABLE_SIGNATURE   SIGNATURE_32('B', 'O', 'O', 'T')

"BOOT" MS Simple Boot Spec

#define EFI_ACPI_2_0_SLP_BUTTON   BIT5
#define EFI_ACPI_2_0_SMART_BATTERY_DESCRIPTION_TABLE_REVISION   0x01

SBST Version (as defined in ACPI 2.0 spec.)

#define EFI_ACPI_2_0_SMART_BATTERY_SPECIFICATION_TABLE_SIGNATURE   SIGNATURE_32('S', 'B', 'S', 'T')

"SBST" Smart Battery Specification Table

#define EFI_ACPI_2_0_SMBUS   4
#define EFI_ACPI_2_0_STATIC_RESOURCE_AFFINITY_TABLE_SIGNATURE   SIGNATURE_32('S', 'R', 'A', 'T')

"SRAT" Static Resource Affinity Table

#define EFI_ACPI_2_0_SYSTEM_IO   1
#define EFI_ACPI_2_0_SYSTEM_LOCALITY_INFORMATION_TABLE_SIGNATURE   SIGNATURE_32('S', 'L', 'I', 'T')

"SLIT" System Locality Information Table

#define EFI_ACPI_2_0_SYSTEM_MEMORY   0
#define EFI_ACPI_2_0_TMR_VAL_EXT   BIT8
#define EFI_ACPI_2_0_WBINVD   BIT0
#define EFI_ACPI_2_0_WBINVD_FLUSH   BIT1

Typedef Documentation

Generic Register Descriptor

Variable Documentation

UINT8 AddressSize
UINT8 AddressSpaceId
UINT64 RegisterAddress
UINT8 RegisterBitOffset
UINT8 RegisterBitWidth