mirror of
https://github.com/acidanthera/audk.git
synced 2025-04-08 17:05:09 +02:00
DynamicTablesPkg: Adds generic ACPI Creator ID
Adds generic creator id as DYNT. Updates the common ACPI tables with generic CreatorId. Cc: Sami Mujawar <Sami.Mujawar@arm.com> Cc: Pierre Gondois <pierre.gondois@arm.com> Signed-off-by: Abdul Lateef Attar <AbdulLateef.Attar@amd.com>
This commit is contained in:
parent
5dafa13d62
commit
238ccc5944
@ -160,9 +160,14 @@ typedef enum StdAcpiTableId {
|
||||
TableId \
|
||||
)
|
||||
|
||||
/** The Creator ID for the ACPI tables generated using
|
||||
/** The generic creator ID for the ACPI tables generated using
|
||||
the standard ACPI table generators.
|
||||
*/
|
||||
#define TABLE_GENERATOR_CREATOR_ID SIGNATURE_32('D', 'Y', 'N', 'T')
|
||||
|
||||
/** The Creator ID for the ACPI tables generated using
|
||||
the standard ACPI table generators for ARM.
|
||||
*/
|
||||
#define TABLE_GENERATOR_CREATOR_ID_ARM SIGNATURE_32('A', 'R', 'M', 'H')
|
||||
|
||||
/** A macro to initialise the common header part of EFI ACPI tables as
|
||||
|
@ -534,7 +534,7 @@ ACPI_TABLE_GENERATOR Dbg2Generator = {
|
||||
// Minimum supported ACPI Table Revision
|
||||
EFI_ACPI_DBG2_DEBUG_DEVICE_INFORMATION_STRUCT_REVISION,
|
||||
// Creator ID
|
||||
TABLE_GENERATOR_CREATOR_ID_ARM,
|
||||
TABLE_GENERATOR_CREATOR_ID,
|
||||
// Creator Revision
|
||||
DBG2_GENERATOR_REVISION,
|
||||
// Build table function. Use the extended version instead.
|
||||
|
@ -582,7 +582,7 @@ ACPI_TABLE_GENERATOR FadtGenerator = {
|
||||
// Minimum supported ACPI Table Revision
|
||||
EFI_ACPI_6_2_FIXED_ACPI_DESCRIPTION_TABLE_REVISION,
|
||||
// Creator ID
|
||||
TABLE_GENERATOR_CREATOR_ID_ARM,
|
||||
TABLE_GENERATOR_CREATOR_ID,
|
||||
// Creator Revision
|
||||
FADT_GENERATOR_REVISION,
|
||||
// Build Table function
|
||||
|
@ -306,7 +306,7 @@ ACPI_TABLE_GENERATOR McfgGenerator = {
|
||||
// Minimum supported ACPI Table Revision
|
||||
EFI_ACPI_MEMORY_MAPPED_CONFIGURATION_SPACE_ACCESS_TABLE_REVISION,
|
||||
// Creator ID
|
||||
TABLE_GENERATOR_CREATOR_ID_ARM,
|
||||
TABLE_GENERATOR_CREATOR_ID,
|
||||
// Creator Revision
|
||||
MCFG_GENERATOR_REVISION,
|
||||
// Build Table function
|
||||
|
@ -1121,7 +1121,7 @@ ACPI_PCCT_GENERATOR PcctGenerator = {
|
||||
// Minimum ACPI Table Revision supported by this Generator
|
||||
EFI_ACPI_6_4_PLATFORM_COMMUNICATION_CHANNEL_TABLE_REVISION,
|
||||
// Creator ID
|
||||
TABLE_GENERATOR_CREATOR_ID_ARM,
|
||||
TABLE_GENERATOR_CREATOR_ID,
|
||||
// Creator Revision
|
||||
PCCT_GENERATOR_REVISION,
|
||||
// Build Table function
|
||||
|
@ -1403,7 +1403,7 @@ ACPI_PPTT_GENERATOR PpttGenerator = {
|
||||
// Minimum supported ACPI Table Revision
|
||||
EFI_ACPI_6_3_PROCESSOR_PROPERTIES_TOPOLOGY_TABLE_REVISION,
|
||||
// Creator ID
|
||||
TABLE_GENERATOR_CREATOR_ID_ARM,
|
||||
TABLE_GENERATOR_CREATOR_ID,
|
||||
// Creator Revision
|
||||
PPTT_GENERATOR_REVISION,
|
||||
// Build Table function
|
||||
|
@ -81,7 +81,7 @@ ACPI_TABLE_GENERATOR RawGenerator = {
|
||||
// Minimum ACPI Table Revision - Unused
|
||||
0,
|
||||
// Creator ID
|
||||
TABLE_GENERATOR_CREATOR_ID_ARM,
|
||||
TABLE_GENERATOR_CREATOR_ID,
|
||||
// Creator Revision
|
||||
RAW_GENERATOR_REVISION,
|
||||
// Build Table function
|
||||
|
@ -419,7 +419,7 @@ ACPI_TABLE_GENERATOR SpcrGenerator = {
|
||||
// Minimum supported ACPI Table Revision
|
||||
EFI_ACPI_SERIAL_PORT_CONSOLE_REDIRECTION_TABLE_REVISION,
|
||||
// Creator ID
|
||||
TABLE_GENERATOR_CREATOR_ID_ARM,
|
||||
TABLE_GENERATOR_CREATOR_ID,
|
||||
// Creator Revision
|
||||
SPCR_GENERATOR_REVISION,
|
||||
// Build table function. Use the extended version instead.
|
||||
|
@ -599,7 +599,7 @@ ACPI_TABLE_GENERATOR SratGenerator = {
|
||||
// Minimum supported ACPI Table Revision
|
||||
EFI_ACPI_6_3_SYSTEM_RESOURCE_AFFINITY_TABLE_REVISION,
|
||||
// Creator ID
|
||||
TABLE_GENERATOR_CREATOR_ID_ARM,
|
||||
TABLE_GENERATOR_CREATOR_ID,
|
||||
// Creator Revision
|
||||
SRAT_GENERATOR_REVISION,
|
||||
// Build Table function
|
||||
|
@ -1359,7 +1359,7 @@ ACPI_CPU_TOPOLOGY_GENERATOR SsdtCpuTopologyGenerator = {
|
||||
// Minimum ACPI Table Revision - Unused
|
||||
0,
|
||||
// Creator ID
|
||||
TABLE_GENERATOR_CREATOR_ID_ARM,
|
||||
TABLE_GENERATOR_CREATOR_ID,
|
||||
// Creator Revision
|
||||
SSDT_CPU_TOPOLOGY_GENERATOR_REVISION,
|
||||
// Build Table function
|
||||
|
@ -1168,7 +1168,7 @@ ACPI_PCI_GENERATOR SsdtPcieGenerator = {
|
||||
// Minimum ACPI Table Revision - Unused
|
||||
0,
|
||||
// Creator ID
|
||||
TABLE_GENERATOR_CREATOR_ID_ARM,
|
||||
TABLE_GENERATOR_CREATOR_ID,
|
||||
// Creator Revision
|
||||
SSDT_PCI_GENERATOR_REVISION,
|
||||
// Build table function. Use the extended version instead.
|
||||
|
@ -301,7 +301,7 @@ ACPI_TABLE_GENERATOR SsdtSerialPortGenerator = {
|
||||
// Minimum ACPI Table Revision - Unused
|
||||
0,
|
||||
// Creator ID
|
||||
TABLE_GENERATOR_CREATOR_ID_ARM,
|
||||
TABLE_GENERATOR_CREATOR_ID,
|
||||
// Creator Revision
|
||||
SSDT_SERIAL_GENERATOR_REVISION,
|
||||
// Build table function. Use the extended version instead.
|
||||
|
@ -341,7 +341,7 @@ ACPI_TABLE_GENERATOR Tpm2Generator = {
|
||||
// Minimum supported ACPI Table Revision
|
||||
EFI_TPM2_ACPI_TABLE_REVISION_4,
|
||||
// Creator ID
|
||||
TABLE_GENERATOR_CREATOR_ID_ARM,
|
||||
TABLE_GENERATOR_CREATOR_ID,
|
||||
// Creator Revision
|
||||
TPM2_GENERATOR_REVISION,
|
||||
// Build Table function
|
||||
|
@ -116,7 +116,7 @@ AmlCodeGenDefinitionBlock (
|
||||
CopyMem (&AcpiHeader.OemId, OemId, 6);
|
||||
CopyMem (&AcpiHeader.OemTableId, OemTableId, 8);
|
||||
AcpiHeader.OemRevision = OemRevision;
|
||||
AcpiHeader.CreatorId = TABLE_GENERATOR_CREATOR_ID_ARM;
|
||||
AcpiHeader.CreatorId = TABLE_GENERATOR_CREATOR_ID;
|
||||
AcpiHeader.CreatorRevision = CREATE_REVISION (1, 0);
|
||||
|
||||
Status = AmlCreateRootNode (&AcpiHeader, NewRootNode);
|
||||
|
Loading…
x
Reference in New Issue
Block a user