iPXE
Data Structures | Defines | Typedefs | Functions
Acpi20.h File Reference

ACPI 2.0 definitions from the ACPI Specification, revision 2.0. More...

#include <ipxe/efi/IndustryStandard/Acpi10.h>

Go to the source code of this file.

Data Structures

struct  EFI_ACPI_2_0_GENERIC_ADDRESS_STRUCTURE
 ACPI 2.0 Generic Address Space definition. More...
struct  EFI_ACPI_2_0_ROOT_SYSTEM_DESCRIPTION_POINTER
 Root System Description Pointer Structure. More...
struct  EFI_ACPI_2_0_COMMON_HEADER
 Common table header, this prefaces all ACPI tables, including FACS, but excluding the RSD PTR structure. More...
struct  EFI_ACPI_2_0_FIXED_ACPI_DESCRIPTION_TABLE
 Fixed ACPI Description Table Structure (FADT) More...
struct  EFI_ACPI_2_0_FIRMWARE_ACPI_CONTROL_STRUCTURE
 Firmware ACPI Control Structure. More...
struct  EFI_ACPI_2_0_MULTIPLE_APIC_DESCRIPTION_TABLE_HEADER
 Multiple APIC Description Table header definition. More...
struct  EFI_ACPI_2_0_PROCESSOR_LOCAL_APIC_STRUCTURE
 Processor Local APIC Structure Definition. More...
struct  EFI_ACPI_2_0_IO_APIC_STRUCTURE
 IO APIC Structure. More...
struct  EFI_ACPI_2_0_INTERRUPT_SOURCE_OVERRIDE_STRUCTURE
 Interrupt Source Override Structure. More...
struct  EFI_ACPI_2_0_NON_MASKABLE_INTERRUPT_SOURCE_STRUCTURE
 Non-Maskable Interrupt Source Structure. More...
struct  EFI_ACPI_2_0_LOCAL_APIC_NMI_STRUCTURE
 Local APIC NMI Structure. More...
struct  EFI_ACPI_2_0_LOCAL_APIC_ADDRESS_OVERRIDE_STRUCTURE
 Local APIC Address Override Structure. More...
struct  EFI_ACPI_2_0_IO_SAPIC_STRUCTURE
 IO SAPIC Structure. More...
struct  EFI_ACPI_2_0_PROCESSOR_LOCAL_SAPIC_STRUCTURE
 Local SAPIC Structure. More...
struct  EFI_ACPI_2_0_PLATFORM_INTERRUPT_SOURCES_STRUCTURE
 Platform Interrupt Sources Structure. More...
struct  EFI_ACPI_2_0_SMART_BATTERY_DESCRIPTION_TABLE
 Smart Battery Description Table (SBST) More...
struct  EFI_ACPI_2_0_EMBEDDED_CONTROLLER_BOOT_RESOURCES_TABLE
 Embedded Controller Boot Resources Table (ECDT) The table is followed by a null terminated ASCII string that contains a fully qualified reference to the name space object. More...

Defines

#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
 RSD_PTR Revision (as defined in ACPI 2.0 spec.)
#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_EXTENDED_SYSTEM_DESCRIPTION_TABLE_REVISION   0x01
 XSDT Revision (as defined in ACPI 2.0 spec.)
#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_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
 FACS Version (as defined in ACPI 2.0 spec.)
#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_MULTIPLE_APIC_DESCRIPTION_TABLE_REVISION   0x01
 MADT Revision (as defined in ACPI 2.0 spec.)
#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_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
 Local APIC Flags.
#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_EMBEDDED_CONTROLLER_BOOT_RESOURCES_TABLE_REVISION   0x01
 ECDT Version (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_MULTIPLE_SAPIC_DESCRIPTION_TABLE_SIGNATURE   SIGNATURE_32('A', 'P', 'I', 'C')
 "SPIC" Multiple SAPIC Description 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_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_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_FIRMWARE_ACPI_CONTROL_STRUCTURE_SIGNATURE   SIGNATURE_32('F', 'A', 'C', 'S')
 "FACS" Firmware ACPI Control Structure
#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_MULTIPLE_APIC_DESCRIPTION_TABLE_SIGNATURE   SIGNATURE_32('A', 'P', 'I', 'C')
 "APIC" Multiple APIC Description Table
#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_ROOT_SYSTEM_DESCRIPTION_TABLE_SIGNATURE   SIGNATURE_32('R', 'S', 'D', 'T')
 "RSDT" Root System Description Table
#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_SYSTEM_LOCALITY_INFORMATION_TABLE_SIGNATURE   SIGNATURE_32('S', 'L', 'I', 'T')
 "SLIT" System Locality Information Table
#define EFI_ACPI_2_0_SERIAL_PORT_CONSOLE_REDIRECTION_TABLE_SIGNATURE   SIGNATURE_32('S', 'P', 'C', 'R')
 "SPCR" Serial Port Concole Redirection Table
#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_SECONDARY_SYSTEM_DESCRIPTION_TABLE_SIGNATURE   SIGNATURE_32('S', 'S', 'D', 'T')
 "SSDT" Secondary System Description 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_EXTENDED_SYSTEM_DESCRIPTION_TABLE_SIGNATURE   SIGNATURE_32('X', 'S', 'D', 'T')
 "XSDT" Extended System Description Table
#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

Typedefs

struct {
   ACPI_LARGE_RESOURCE_HEADER   Header
   UINT8   AddressSpaceId
   UINT8   RegisterBitWidth
   UINT8   RegisterBitOffset
   UINT8   AddressSize
   UINT64   RegisterAddress
EFI_ACPI_GENERIC_REGISTER_DESCRIPTOR
 Generic Register Descriptor.

Functions

 FILE_LICENCE (BSD3)

Detailed Description

ACPI 2.0 definitions from the ACPI Specification, revision 2.0.

Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.
This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at http://opensource.org/licenses/bsd-license.php

THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.

Definition in file Acpi20.h.


Define Documentation

Definition at line 24 of file Acpi20.h.

Definition at line 26 of file Acpi20.h.

Definition at line 66 of file Acpi20.h.

#define EFI_ACPI_2_0_SYSTEM_IO   1

Definition at line 67 of file Acpi20.h.

Definition at line 68 of file Acpi20.h.

Definition at line 69 of file Acpi20.h.

#define EFI_ACPI_2_0_SMBUS   4

Definition at line 70 of file Acpi20.h.

Definition at line 71 of file Acpi20.h.

RSD_PTR Revision (as defined in ACPI 2.0 spec.)

Definition at line 95 of file Acpi20.h.

RSDT Revision (as defined in ACPI 2.0 spec.)

Definition at line 115 of file Acpi20.h.

XSDT Revision (as defined in ACPI 2.0 spec.)

Definition at line 126 of file Acpi20.h.

FADT Version (as defined in ACPI 2.0 spec.)

Definition at line 189 of file Acpi20.h.

Definition at line 194 of file Acpi20.h.

Definition at line 195 of file Acpi20.h.

Definition at line 196 of file Acpi20.h.

Definition at line 197 of file Acpi20.h.

Definition at line 198 of file Acpi20.h.

Definition at line 199 of file Acpi20.h.

Definition at line 200 of file Acpi20.h.

Definition at line 206 of file Acpi20.h.

#define EFI_ACPI_2_0_8042   BIT1

Definition at line 207 of file Acpi20.h.

#define EFI_ACPI_2_0_WBINVD   BIT0

Definition at line 213 of file Acpi20.h.

Definition at line 214 of file Acpi20.h.

#define EFI_ACPI_2_0_PROC_C1   BIT2

Definition at line 215 of file Acpi20.h.

Definition at line 216 of file Acpi20.h.

Definition at line 217 of file Acpi20.h.

Definition at line 218 of file Acpi20.h.

#define EFI_ACPI_2_0_FIX_RTC   BIT6

Definition at line 219 of file Acpi20.h.

#define EFI_ACPI_2_0_RTC_S4   BIT7

Definition at line 220 of file Acpi20.h.

Definition at line 221 of file Acpi20.h.

#define EFI_ACPI_2_0_DCK_CAP   BIT9

Definition at line 222 of file Acpi20.h.

Definition at line 223 of file Acpi20.h.

Definition at line 224 of file Acpi20.h.

Definition at line 225 of file Acpi20.h.

Definition at line 226 of file Acpi20.h.

FACS Version (as defined in ACPI 2.0 spec.)

Definition at line 246 of file Acpi20.h.

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

Definition at line 252 of file Acpi20.h.

MADT Revision (as defined in ACPI 2.0 spec.)

Definition at line 267 of file Acpi20.h.

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

Definition at line 273 of file Acpi20.h.

Definition at line 280 of file Acpi20.h.

#define EFI_ACPI_2_0_IO_APIC   0x01

Definition at line 281 of file Acpi20.h.

Definition at line 282 of file Acpi20.h.

Definition at line 283 of file Acpi20.h.

#define EFI_ACPI_2_0_LOCAL_APIC_NMI   0x04

Definition at line 284 of file Acpi20.h.

Definition at line 285 of file Acpi20.h.

#define EFI_ACPI_2_0_IO_SAPIC   0x06

Definition at line 286 of file Acpi20.h.

Definition at line 287 of file Acpi20.h.

Definition at line 288 of file Acpi20.h.

Local APIC Flags.

All other bits are reserved and must be 0.

Definition at line 308 of file Acpi20.h.

SBST Version (as defined in ACPI 2.0 spec.)

Definition at line 418 of file Acpi20.h.

ECDT Version (as defined in ACPI 2.0 spec.)

Definition at line 436 of file Acpi20.h.

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

"RSD PTR " Root System Description Pointer

Definition at line 445 of file Acpi20.h.

"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

Definition at line 453 of file Acpi20.h.

"BOOT" MS Simple Boot Spec

Definition at line 458 of file Acpi20.h.

#define EFI_ACPI_2_0_DEBUG_PORT_TABLE_SIGNATURE   SIGNATURE_32('D', 'B', 'G', 'P')

"DBGP" MS Bebug Port Spec

Definition at line 463 of file Acpi20.h.

"DSDT" Differentiated System Description Table

Definition at line 468 of file Acpi20.h.

"ECDT" Embedded Controller Boot Resources Table

Definition at line 473 of file Acpi20.h.

"ETDT" Event Timer Description Table

Definition at line 478 of file Acpi20.h.

"FACS" Firmware ACPI Control Structure

Definition at line 483 of file Acpi20.h.

"FACP" Fixed ACPI Description Table

Definition at line 488 of file Acpi20.h.

"APIC" Multiple APIC Description Table

Definition at line 493 of file Acpi20.h.

"PSDT" Persistent System Description Table

Definition at line 498 of file Acpi20.h.

"RSDT" Root System Description Table

Definition at line 503 of file Acpi20.h.

"SBST" Smart Battery Specification Table

Definition at line 508 of file Acpi20.h.

"SLIT" System Locality Information Table

Definition at line 513 of file Acpi20.h.

"SPCR" Serial Port Concole Redirection Table

Definition at line 518 of file Acpi20.h.

"SRAT" Static Resource Affinity Table

Definition at line 523 of file Acpi20.h.

"SSDT" Secondary System Description Table

Definition at line 528 of file Acpi20.h.

"SPMI" Server Platform Management Interface Table

Definition at line 533 of file Acpi20.h.

"XSDT" Extended System Description Table

Definition at line 538 of file Acpi20.h.

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

Definition at line 543 of file Acpi20.h.


Typedef Documentation

Generic Register Descriptor.


Function Documentation

FILE_LICENCE ( BSD3  )

Variable Documentation

Definition at line 37 of file Acpi20.h.

Definition at line 38 of file Acpi20.h.

Definition at line 39 of file Acpi20.h.

Definition at line 40 of file Acpi20.h.

Definition at line 41 of file Acpi20.h.

Definition at line 42 of file Acpi20.h.