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>
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
/** @file
|
||||
ACPI 4.0 definitions from the ACPI Specification Revision 4.0a April 5, 2010
|
||||
|
||||
Copyright (c) 2010 - 2018, Intel Corporation. All rights reserved.<BR>
|
||||
Copyright (c) 2010 - 2022, Intel Corporation. All rights reserved.<BR>
|
||||
SPDX-License-Identifier: BSD-2-Clause-Patent
|
||||
**/
|
||||
|
||||
@@ -690,6 +690,7 @@ typedef struct {
|
||||
// Boot Error Severity types
|
||||
//
|
||||
#define EFI_ACPI_4_0_ERROR_SEVERITY_CORRECTABLE 0x00
|
||||
#define EFI_ACPI_4_0_ERROR_SEVERITY_RECOVERABLE 0x00
|
||||
#define EFI_ACPI_4_0_ERROR_SEVERITY_FATAL 0x01
|
||||
#define EFI_ACPI_4_0_ERROR_SEVERITY_CORRECTED 0x02
|
||||
#define EFI_ACPI_4_0_ERROR_SEVERITY_NONE 0x03
|
||||
|
Reference in New Issue
Block a user