summaryrefslogtreecommitdiffstats
path: root/MdePkg
diff options
context:
space:
mode:
authorCarsten Haitzler <carsten.haitzler@foss.arm.com>2024-09-05 10:03:59 +0100
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2024-09-12 08:51:25 +0000
commitdfc242c2dda2010faf99beaf7fd2009bf4287444 (patch)
tree0a1dbcaed480a00aa3e4f97f00d7dea515c89381 /MdePkg
parentbabccb841dbb39de2b4485bdb63dcc5bb6122bd8 (diff)
downloadedk2-dfc242c2dda2010faf99beaf7fd2009bf4287444.tar.gz
edk2-dfc242c2dda2010faf99beaf7fd2009bf4287444.tar.bz2
edk2-dfc242c2dda2010faf99beaf7fd2009bf4287444.zip
MdePkg/Acpi65.h: Add RAS2 table defs and signature as in ACPI 6.5
Add EFI_ACPI_RAS2_PCC_DESCRIPTOR, EFI_ACPI_6_5_RAS2_FEATURE_TABLE and EFI_ACPI_6_5_ACPI_RAS2_FEATURE_TABLE_SIGNATURE. Signed-off-by: Carsten Haitzler <carsten.haitzler@foss.arm.com>
Diffstat (limited to 'MdePkg')
-rw-r--r--MdePkg/Include/IndustryStandard/Acpi65.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/MdePkg/Include/IndustryStandard/Acpi65.h b/MdePkg/Include/IndustryStandard/Acpi65.h
index 42a9aaf860..62d2fac1bf 100644
--- a/MdePkg/Include/IndustryStandard/Acpi65.h
+++ b/MdePkg/Include/IndustryStandard/Acpi65.h
@@ -1057,6 +1057,26 @@ typedef struct {
#define EFI_ACPI_6_5_RASF_PATROL_SCRUB_COMMAND_STOP_PATROL_SCRUBBER 0x03
///
+/// ACPI RAS2 PCC Descriptor
+///
+typedef struct {
+ UINT8 PccId;
+ UINT8 Reserved[2];
+ UINT8 RasFeatureType;
+ UINT32 Instance;
+} EFI_ACPI_RAS2_PCC_DESCRIPTOR;
+
+///
+/// ACPI RAS2 Feature Table definition.
+///
+typedef struct {
+ EFI_ACPI_DESCRIPTION_HEADER Header;
+ UINT16 Reserved;
+ UINT16 PccCount;
+ // EFI_ACPI_RAS2_PCC_DESCRIPTOR Descriptors[PccCount];
+} EFI_ACPI_6_5_RAS2_FEATURE_TABLE;
+
+///
/// Memory Power State Table definition.
///
typedef struct {
@@ -3122,6 +3142,11 @@ typedef struct {
#define EFI_ACPI_6_5_PERSISTENT_SYSTEM_DESCRIPTION_TABLE_SIGNATURE SIGNATURE_32('P', 'S', 'D', 'T')
///
+/// "RAS2" ACPI RAS2 Feature Table
+///
+#define EFI_ACPI_6_5_ACPI_RAS2_FEATURE_TABLE_SIGNATURE SIGNATURE_32('R', 'A', 'S', '2')
+
+///
/// "RASF" ACPI RAS Feature Table
///
#define EFI_ACPI_6_5_ACPI_RAS_FEATURE_TABLE_SIGNATURE SIGNATURE_32('R', 'A', 'S', 'F')