From 9c7e51f3866ce41866d6f2457b2d1a9a45147349 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C4=81vis=20Mos=C4=81ns?= Date: Tue, 10 Mar 2026 01:19:53 +0200 Subject: [PATCH] MdePkg: Fix Acpi40 EINJ/ERST typo MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `EFI_ACPI_4_0_EINJ` defines appear twice because of typo and actually should be `EFI_ACPI_4_0_ERST`. So this commit fixes this typo by renaming wrong `EINJ` to `ERST`. Signed-off-by: Dāvis Mosāns --- MdePkg/Include/IndustryStandard/Acpi40.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/MdePkg/Include/IndustryStandard/Acpi40.h b/MdePkg/Include/IndustryStandard/Acpi40.h index 4b34660fa6..6c129979f0 100644 --- a/MdePkg/Include/IndustryStandard/Acpi40.h +++ b/MdePkg/Include/IndustryStandard/Acpi40.h @@ -998,12 +998,12 @@ typedef struct { /// /// ERST Action Command Status /// -#define EFI_ACPI_4_0_EINJ_STATUS_SUCCESS 0x00 -#define EFI_ACPI_4_0_EINJ_STATUS_NOT_ENOUGH_SPACE 0x01 -#define EFI_ACPI_4_0_EINJ_STATUS_HARDWARE_NOT_AVAILABLE 0x02 -#define EFI_ACPI_4_0_EINJ_STATUS_FAILED 0x03 -#define EFI_ACPI_4_0_EINJ_STATUS_RECORD_STORE_EMPTY 0x04 -#define EFI_ACPI_4_0_EINJ_STATUS_RECORD_NOT_FOUND 0x05 +#define EFI_ACPI_4_0_ERST_STATUS_SUCCESS 0x00 +#define EFI_ACPI_4_0_ERST_STATUS_NOT_ENOUGH_SPACE 0x01 +#define EFI_ACPI_4_0_ERST_STATUS_HARDWARE_NOT_AVAILABLE 0x02 +#define EFI_ACPI_4_0_ERST_STATUS_FAILED 0x03 +#define EFI_ACPI_4_0_ERST_STATUS_RECORD_STORE_EMPTY 0x04 +#define EFI_ACPI_4_0_ERST_STATUS_RECORD_NOT_FOUND 0x05 /// /// ERST Serialization Instructions