mirror of
https://github.com/tianocore/edk2
synced 2026-08-27 00:23:19 -04:00
MdePkg/IndustryStandard:: Add ACPI 6.6 extension for NUMA ACPI Tables
Add NUMA ACPI table extension introduced in ACPI 6.6 spec: - Section 5.2.16.2 SRAT Memory Affinity Structure introduces "Specific-Purpose" bit field to the "Flags" field. - Section 5.2.29.5 HMAT Memory Side Cache Information Structure adds "Address Mode" field. Signed-off-by: Qing Huang <qing.huang@intel.com>
This commit is contained in:
parent
3971a4dba9
commit
0dddd6549d
1 changed files with 11 additions and 4 deletions
|
|
@ -940,9 +940,10 @@ typedef struct {
|
|||
//
|
||||
// Memory Flags. All other bits are reserved and must be 0.
|
||||
//
|
||||
#define EFI_ACPI_6_6_MEMORY_ENABLED (1 << 0)
|
||||
#define EFI_ACPI_6_6_MEMORY_HOT_PLUGGABLE (1 << 1)
|
||||
#define EFI_ACPI_6_6_MEMORY_NONVOLATILE (1 << 2)
|
||||
#define EFI_ACPI_6_6_MEMORY_ENABLED (1 << 0)
|
||||
#define EFI_ACPI_6_6_MEMORY_HOT_PLUGGABLE (1 << 1)
|
||||
#define EFI_ACPI_6_6_MEMORY_NONVOLATILE (1 << 2)
|
||||
#define EFI_ACPI_6_6_MEMORY_SPECIFIC_PURPOSE (1 << 3)
|
||||
|
||||
///
|
||||
/// Processor Local x2APIC Affinity Structure Definition
|
||||
|
|
@ -2456,10 +2457,16 @@ typedef struct {
|
|||
UINT8 Reserved1[4];
|
||||
UINT64 MemorySideCacheSize;
|
||||
EFI_ACPI_6_6_HMAT_STRUCTURE_MEMORY_SIDE_CACHE_INFO_CACHE_ATTRIBUTES CacheAttributes;
|
||||
UINT8 Reserved2[2];
|
||||
UINT16 AddressMode;
|
||||
UINT16 NumberOfSmbiosHandles;
|
||||
} EFI_ACPI_6_6_HMAT_STRUCTURE_MEMORY_SIDE_CACHE_INFO;
|
||||
|
||||
///
|
||||
/// Memory Side Cache Information Structure flags
|
||||
///
|
||||
#define EFI_ACPI_6_6_HMAT_RESERVED_ADDRESS_MODE 0
|
||||
#define EFI_ACPI_6_6_HMAT_EXTENDED_LINEAR_ADDRESS_MODE 1
|
||||
|
||||
///
|
||||
/// ERST - Error Record Serialization Table
|
||||
///
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue