Zephyr API Documentation  2.7.0-rc2
A Scalable Open Source RTOS
acpi.h File Reference

Go to the source code of this file.

Data Structures

struct  acpi_rsdp
 
struct  acpi_sdt
 
struct  acpi_rsdt
 
struct  acpi_xsdt
 
struct  acpi_mcfg
 
struct  acpi_madt_entry
 
struct  acpi_madt
 
struct  acpi_cpu
 
struct  acpi_dmar_entry
 
struct  acpi_dmar_dev_path
 
struct  acpi_dmar_dev_scope
 
struct  acpi_drhd
 
struct  acpi_dmar
 

Macros

#define ACPI_RSDP_SIGNATURE   0x2052545020445352 /* == "RSD PTR " */
 
#define ACPI_MCFG_SIGNATURE   0x4746434d /* 'MCFG' */
 
#define ACPI_MADT_SIGNATURE   0x43495041 /* 'APIC' */
 
#define ACPI_MADT_ENTRY_CPU   0
 
#define ACPI_MADT_FLAGS_PICS   0x01 /* legacy 8259s installed */
 
#define ACPI_CPU_FLAGS_ENABLED   0x01
 
#define ACPI_DMAR_TYPE_DRHD   0 /* DMA Remapping Hardware Unit Definition */
 
#define ACPI_DMAR_TYPE_RMRR   1 /* Do not care atm (legacy usage) */
 
#define ACPI_DMAR_TYPE_ATSR   2 /* Do not care atm (PCIE ATS support) */
 
#define ACPI_DMAR_TYPE_RHSA   3 /* Do not care atm (NUMA specific ) */
 
#define ACPI_DMAR_TYPE_ANDD   4 /* Do not care atm (ACPI DSDT related) */
 
#define ACPI_DMAR_TYPE_SACT   5 /* Do not care atm */
 
#define ACPI_DMAR_DEV_PATH_SIZE   2
 
#define ACPI_DMAR_DEV_SCOPE_MIN_SIZE   6
 
#define ACPI_DRHD_DEV_SCOPE_PCI_EPD   0x01
 
#define ACPI_DRHD_DEV_SCOPE_PCI_SUB_H   0x02
 
#define ACPI_DRHD_DEV_SCOPE_IOAPIC   0x03
 
#define ACPI_DRHD_DEV_SCOPE_MSI_CAP_HPET   0x04
 
#define ACPI_DRHD_DEV_SCOPE_NAMESPACE_DEV   0x05
 
#define ACPI_DRHD_MIN_SIZE   16
 
#define ACPI_DRHD_FLAG_INCLUDE_PCI_ALL   BIT(0)
 
#define ACPI_DMAR_SIGNATURE   0x52414D44 /* 'DMAR' */
 
#define ACPI_DMAR_FLAG_INTR_REMAP   BIT(0)
 
#define ACPI_DMAR_FLAG_X2APIC_OPT_OUT   BIT(1)
 
#define ACPI_DMAR_FLAG_DMA_CTRL_PLATFORM_OPT_IN   BIT(2)
 

Macro Definition Documentation

◆ ACPI_CPU_FLAGS_ENABLED

#define ACPI_CPU_FLAGS_ENABLED   0x01

◆ ACPI_DMAR_DEV_PATH_SIZE

#define ACPI_DMAR_DEV_PATH_SIZE   2

◆ ACPI_DMAR_DEV_SCOPE_MIN_SIZE

#define ACPI_DMAR_DEV_SCOPE_MIN_SIZE   6

◆ ACPI_DMAR_FLAG_DMA_CTRL_PLATFORM_OPT_IN

#define ACPI_DMAR_FLAG_DMA_CTRL_PLATFORM_OPT_IN   BIT(2)

◆ ACPI_DMAR_FLAG_INTR_REMAP

#define ACPI_DMAR_FLAG_INTR_REMAP   BIT(0)

◆ ACPI_DMAR_FLAG_X2APIC_OPT_OUT

#define ACPI_DMAR_FLAG_X2APIC_OPT_OUT   BIT(1)

◆ ACPI_DMAR_SIGNATURE

#define ACPI_DMAR_SIGNATURE   0x52414D44 /* 'DMAR' */

◆ ACPI_DMAR_TYPE_ANDD

#define ACPI_DMAR_TYPE_ANDD   4 /* Do not care atm (ACPI DSDT related) */

◆ ACPI_DMAR_TYPE_ATSR

#define ACPI_DMAR_TYPE_ATSR   2 /* Do not care atm (PCIE ATS support) */

◆ ACPI_DMAR_TYPE_DRHD

#define ACPI_DMAR_TYPE_DRHD   0 /* DMA Remapping Hardware Unit Definition */

◆ ACPI_DMAR_TYPE_RHSA

#define ACPI_DMAR_TYPE_RHSA   3 /* Do not care atm (NUMA specific ) */

◆ ACPI_DMAR_TYPE_RMRR

#define ACPI_DMAR_TYPE_RMRR   1 /* Do not care atm (legacy usage) */

◆ ACPI_DMAR_TYPE_SACT

#define ACPI_DMAR_TYPE_SACT   5 /* Do not care atm */

◆ ACPI_DRHD_DEV_SCOPE_IOAPIC

#define ACPI_DRHD_DEV_SCOPE_IOAPIC   0x03

◆ ACPI_DRHD_DEV_SCOPE_MSI_CAP_HPET

#define ACPI_DRHD_DEV_SCOPE_MSI_CAP_HPET   0x04

◆ ACPI_DRHD_DEV_SCOPE_NAMESPACE_DEV

#define ACPI_DRHD_DEV_SCOPE_NAMESPACE_DEV   0x05

◆ ACPI_DRHD_DEV_SCOPE_PCI_EPD

#define ACPI_DRHD_DEV_SCOPE_PCI_EPD   0x01

◆ ACPI_DRHD_DEV_SCOPE_PCI_SUB_H

#define ACPI_DRHD_DEV_SCOPE_PCI_SUB_H   0x02

◆ ACPI_DRHD_FLAG_INCLUDE_PCI_ALL

#define ACPI_DRHD_FLAG_INCLUDE_PCI_ALL   BIT(0)

◆ ACPI_DRHD_MIN_SIZE

#define ACPI_DRHD_MIN_SIZE   16

◆ ACPI_MADT_ENTRY_CPU

#define ACPI_MADT_ENTRY_CPU   0

◆ ACPI_MADT_FLAGS_PICS

#define ACPI_MADT_FLAGS_PICS   0x01 /* legacy 8259s installed */

◆ ACPI_MADT_SIGNATURE

#define ACPI_MADT_SIGNATURE   0x43495041 /* 'APIC' */

◆ ACPI_MCFG_SIGNATURE

#define ACPI_MCFG_SIGNATURE   0x4746434d /* 'MCFG' */

◆ ACPI_RSDP_SIGNATURE

#define ACPI_RSDP_SIGNATURE   0x2052545020445352 /* == "RSD PTR " */