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 <zhiguang.liu@intel.com>
Cc: Dandan Bi <dandan.bi@intel.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Cc: Zhichao Gao <zhichao.gao@intel.com>
Cc: Sami Mujawar <sami.mujawar@arm.com>
Cc: Pierre Gondois <pierre.gondois@arm.com>
Signed-off-by: levi.yun <yeoreum.yun@arm.com>
This commit is contained in:
levi.yun 2024-04-30 14:49:49 +01:00 committed by mergify[bot]
parent 5b429acec7
commit 873f35625d
1 changed files with 4 additions and 2 deletions

View File

@ -2419,7 +2419,7 @@ typedef struct {
/// ///
/// EINJ Version (as defined in ACPI 6.5 spec.) /// 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 /// 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_CHECK_BUSY_STATUS 0x06
#define EFI_ACPI_6_5_EINJ_GET_COMMAND_STATUS 0x07 #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_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 #define EFI_ACPI_6_5_EINJ_TRIGGER_ERROR 0xFF
/// ///