Add template tables for SDEI and HEST. The HEST contains a single GHES that uses SDEI, this will be rewritten at boot by MangleHEST.
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: James Morse james.morse@arm.com --- .../AcpiTables/rtsm_ve-aemv8a/AcpiTables.inf | 2 + .../VExpress/AcpiTables/rtsm_ve-aemv8a/hest.asl | 48 ++++++++++++++++++++++ .../VExpress/AcpiTables/rtsm_ve-aemv8a/sdei.asl | 18 ++++++++ 3 files changed, 68 insertions(+) create mode 100644 Platforms/ARM/VExpress/AcpiTables/rtsm_ve-aemv8a/hest.asl create mode 100644 Platforms/ARM/VExpress/AcpiTables/rtsm_ve-aemv8a/sdei.asl
diff --git a/Platforms/ARM/VExpress/AcpiTables/rtsm_ve-aemv8a/AcpiTables.inf b/Platforms/ARM/VExpress/AcpiTables/rtsm_ve-aemv8a/AcpiTables.inf index ecb4ca6..3a37081 100644 --- a/Platforms/ARM/VExpress/AcpiTables/rtsm_ve-aemv8a/AcpiTables.inf +++ b/Platforms/ARM/VExpress/AcpiTables/rtsm_ve-aemv8a/AcpiTables.inf @@ -29,6 +29,8 @@ gtdt.asl dbg2.asl spcr.asl + sdei.asl + hest.asl
[Packages] MdePkg/MdePkg.dec diff --git a/Platforms/ARM/VExpress/AcpiTables/rtsm_ve-aemv8a/hest.asl b/Platforms/ARM/VExpress/AcpiTables/rtsm_ve-aemv8a/hest.asl new file mode 100644 index 0000000..c16a295 --- /dev/null +++ b/Platforms/ARM/VExpress/AcpiTables/rtsm_ve-aemv8a/hest.asl @@ -0,0 +1,48 @@ +/* + * Intel ACPI Component Architecture + * iASL Compiler/Disassembler version 20160930-64 + * Copyright (c) 2000 - 2016 Intel Corporation + * + * Template for [HEST] ACPI Table (static data table) + * Format: [ByteLength] FieldName : HexFieldValue + */ +[0004] Signature : "HEST" [Hardware Error Source Table] +[0004] Table Length : 00000000 +[0001] Revision : 01 +[0001] Checksum : 00 +[0006] Oem ID : "INTEL " +[0008] Oem Table ID : "TEMPLATE" +[0004] Oem Revision : 00000001 +[0004] Asl Compiler ID : "INTL" +[0004] Asl Compiler Revision : 20100528 + +[0004] Error Source Count : 00000001 + +[0002] Subtable Type : 0009 [Generic Hardware Error Source] +[0002] Source Id : 0001 +[0002] Related Source Id : FFFF +[0001] Reserved : 00 +[0001] Enabled : 01 +[0004] Records To Preallocate : 00000001 +[0004] Max Sections Per Record : 00000001 +[0004] Max Raw Data Length : 00001000 + +[0012] Error Status Address : [Generic Address Structure] +[0001] Space ID : 00 [SystemMemory] +[0001] Bit Width : 40 +[0001] Bit Offset : 00 +[0001] Encoded Access Width : 04 [QWord Access:64] +[0008] Address : 0000000000000000 + +[0028] Notify : [Hardware Error Notification Structure] +[0001] Notify Type : 0b [SDEI] +[0001] Notify Length : 1C +[0002] Configuration Write Enable : 0000 +[0004] PollInterval : 00000000 +[0004] Vector : 00000324 +[0004] Polling Threshold Value : 00000000 +[0004] Polling Threshold Window : 00000000 +[0004] Error Threshold Value : 00000000 +[0004] Error Threshold Window : 00000000 + +[0004] Error Status Block Length : 00001000 diff --git a/Platforms/ARM/VExpress/AcpiTables/rtsm_ve-aemv8a/sdei.asl b/Platforms/ARM/VExpress/AcpiTables/rtsm_ve-aemv8a/sdei.asl new file mode 100644 index 0000000..913cadd --- /dev/null +++ b/Platforms/ARM/VExpress/AcpiTables/rtsm_ve-aemv8a/sdei.asl @@ -0,0 +1,18 @@ +/* + * Intel ACPI Component Architecture + * iASL Compiler/Disassembler version 20160930-64 + * Copyright (c) 2000 - 2016 Intel Corporation + * + * Template for [SDEI] ACPI Table (static data table) + * Format: [ByteLength] FieldName : HexFieldValue + */ +[0004] Signature : "SDEI" +[0004] Table Length : 0000003E +[0001] Revision : 01 +[0001] Checksum : 59 +[0006] Oem ID : "ARM " +[0008] Oem Table ID : "TEMPLATE" +[0004] Oem Revision : 00000001 +[0004] Asl Compiler ID : "INTL" +[0004] Asl Compiler Revision : 20160930 +