From 873f35625daff05364d4f8abe93c3df86087978d Mon Sep 17 00:00:00 2001 From: "levi.yun" Date: Tue, 30 Apr 2024 14:49:49 +0100 Subject: [PATCH] MdePkg/IndustryStandard: Update EINJ information according to ACPI 6.5 ACPI 6.5 specification updates EINJ revision to 0x02 and adds new Error Injection Actions - EINJV2_SET_ERROR_TYPE - EINJV2_GET_ERROR_TYPE This patches updates EINJ information based on ACPI 6.5 specification. Also, add missing Error Injection Actions too. Cc: Zhiguang Liu Cc: Dandan Bi Cc: Liming Gao Cc: Zhichao Gao Cc: Sami Mujawar Cc: Pierre Gondois Signed-off-by: levi.yun --- MdePkg/Include/IndustryStandard/Acpi65.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/MdePkg/Include/IndustryStandard/Acpi65.h b/MdePkg/Include/IndustryStandard/Acpi65.h index 264869e862..387af78cfe 100644 --- a/MdePkg/Include/IndustryStandard/Acpi65.h +++ b/MdePkg/Include/IndustryStandard/Acpi65.h @@ -2419,7 +2419,7 @@ typedef struct { /// /// EINJ Version (as defined in ACPI 6.5 spec.) /// -#define EFI_ACPI_6_5_ERROR_INJECTION_TABLE_REVISION 0x01 +#define EFI_ACPI_6_5_ERROR_INJECTION_TABLE_REVISION 0x02 /// /// EINJ Error Injection Actions @@ -2433,7 +2433,9 @@ typedef struct { #define EFI_ACPI_6_5_EINJ_CHECK_BUSY_STATUS 0x06 #define EFI_ACPI_6_5_EINJ_GET_COMMAND_STATUS 0x07 #define EFI_ACPI_6_5_EINJ_SET_ERROR_TYPE_WITH_ADDRESS 0x08 -#define EFI_ACPI_6_4_EINJ_GET_EXECUTE_OPERATION_TIMINGS 0x09 +#define EFI_ACPI_6_5_EINJ_GET_EXECUTE_OPERATION_TIMINGS 0x09 +#define EFI_ACPI_6_5_EINJ_EINJV2_SET_ERROR_TYPE 0x10 +#define EFI_ACPI_6_5_EINJ_EINJV2_GET_ERROR_TYPE 0x11 #define EFI_ACPI_6_5_EINJ_TRIGGER_ERROR 0xFF ///