MdePkg: Correct Arm CPER error info type

The values of EFI_ARM_PROC_ERROR_INFO_TYPE have been corrected to BIT positions constants BIT0, BIT1 etc
as per the definition in the UEFI specification

Signed-off-by: G Edhaya Chandran <edhaya.chandran@arm.com>
This commit is contained in:
edhay 2026-08-11 01:05:03 +05:30
parent 2cfd432ac9
commit 7771b7c8c1

View file

@ -1026,10 +1026,10 @@ typedef union {
///
/// The type of error that occurred in ARM Processor Error section.
///@{
#define EFI_ARM_PROC_ERROR_INFO_TYPE_CACHE 0x00
#define EFI_ARM_PROC_ERROR_INFO_TYPE_TLB 0x01
#define EFI_ARM_PROC_ERROR_INFO_TYPE_BUS 0x02
#define EFI_ARM_PROC_ERROR_INFO_TYPE_MICRO_ARCH 0x03
#define EFI_ARM_PROC_ERROR_INFO_TYPE_CACHE BIT0
#define EFI_ARM_PROC_ERROR_INFO_TYPE_TLB BIT1
#define EFI_ARM_PROC_ERROR_INFO_TYPE_BUS BIT2
#define EFI_ARM_PROC_ERROR_INFO_TYPE_MICRO_ARCH BIT3
///
/// The flags to define the error atrributes in ARM Processor Error Information