diff options
author | Hao A Wu <hao.a.wu@intel.com> | 2022-03-07 16:19:58 +0800 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2022-03-21 01:26:21 +0000 |
commit | 267a92fef3b705e6a3ecbeaa4d4b58f7bfac9734 (patch) | |
tree | 3b69fab10e1e028c17b58289193f0bb94cf1f4bf /MdePkg/Include/IndustryStandard/Acpi64.h | |
parent | c1e662101addbfd983026f06d119da2d470865a1 (diff) | |
download | edk2-267a92fef3b705e6a3ecbeaa4d4b58f7bfac9734.tar.gz edk2-267a92fef3b705e6a3ecbeaa4d4b58f7bfac9734.tar.bz2 edk2-267a92fef3b705e6a3ecbeaa4d4b58f7bfac9734.zip |
MdePkg/AcpiXX.h: Update Error Severity type for Generic Error Status Block
Starting from ACPI Specification Version 5.1 Errata B, the term
'Correctable' is no longer being used as an error severity of the
reported error in Chapter 18 APEI.
This commit will
a) For Acpi40.h & Acpi50.h
Add new macro EFI_ACPI_X_X_ERROR_SEVERITY_RECOVERABLE, since both the
terms 'Correctable' and 'Recoverable' are used to denote the same error
severity.
b) Header files starting from Acpi51.h to Acpi64.h
Add new macro EFI_ACPI_X_X_ERROR_SEVERITY_RECOVERABLE.
Keeps the origin EFI_ACPI_X_X_ERROR_SEVERITY_CORRECTABLE for compatibility
consideration, but add comments to mark it as deprecated and should no
longer be used.
Cc: Michael D Kinney <michael.d.kinney@intel.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Cc: Zhiguang Liu <zhiguang.liu@intel.com>
Cc: Ray Ni <ray.ni@intel.com>
Signed-off-by: Hao A Wu <hao.a.wu@intel.com>
Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
Diffstat (limited to 'MdePkg/Include/IndustryStandard/Acpi64.h')
-rw-r--r-- | MdePkg/Include/IndustryStandard/Acpi64.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/MdePkg/Include/IndustryStandard/Acpi64.h b/MdePkg/Include/IndustryStandard/Acpi64.h index a79b7f2eaa..232697f228 100644 --- a/MdePkg/Include/IndustryStandard/Acpi64.h +++ b/MdePkg/Include/IndustryStandard/Acpi64.h @@ -1,7 +1,7 @@ /** @file
ACPI 6.4 definitions from the ACPI Specification Revision 6.4 Jan, 2021.
- Copyright (c) 2017, Intel Corporation. All rights reserved.<BR>
+ Copyright (c) 2017 - 2022, Intel Corporation. All rights reserved.<BR>
Copyright (c) 2019 - 2021, ARM Ltd. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
@@ -1783,10 +1783,16 @@ typedef struct { //
// Boot Error Severity types
//
-#define EFI_ACPI_6_4_ERROR_SEVERITY_CORRECTABLE 0x00
+#define EFI_ACPI_6_4_ERROR_SEVERITY_RECOVERABLE 0x00
#define EFI_ACPI_6_4_ERROR_SEVERITY_FATAL 0x01
#define EFI_ACPI_6_4_ERROR_SEVERITY_CORRECTED 0x02
#define EFI_ACPI_6_4_ERROR_SEVERITY_NONE 0x03
+//
+// The term 'Correctable' is no longer being used as an error severity of the
+// reported error since ACPI Specification Version 5.1 Errata B.
+// The below macro is considered as deprecated and should no longer be used.
+//
+#define EFI_ACPI_6_4_ERROR_SEVERITY_CORRECTABLE 0x00
///
/// Generic Error Data Entry Definition
|