MdePkg Cper.h: Add missing structure for 'Processor Error Record'

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Hao Wu <hao.a.wu@intel.com>
Reviewed-off-by: Jeff Fan <jeff.fan@intel.com>
This commit is contained in:
Hao Wu 2016-03-15 10:00:40 +08:00
parent f3ee38dd95
commit 24c2f31356

View File

@ -1,7 +1,7 @@
/** @file /** @file
GUIDs and definitions used for Common Platform Error Record. GUIDs and definitions used for Common Platform Error Record.
Copyright (c) 2011 - 2015, Intel Corporation. All rights reserved.<BR> Copyright (c) 2011 - 2016, Intel Corporation. All rights reserved.<BR>
(C) Copyright 2016 Hewlett Packard Enterprise Development LP<BR> (C) Copyright 2016 Hewlett Packard Enterprise Development LP<BR>
This program and the accompanying materials This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License are licensed and made available under the terms and conditions of the BSD License
@ -346,6 +346,23 @@ typedef struct {
} }
///@} ///@}
///
/// The validation bit mask indicates which fields in the IA32/X64 Processor
/// Error Record structure are valid.
///@{
#define EFI_IA32_X64_PROCESSOR_ERROR_APIC_ID_VALID BIT0
#define EFI_IA32_X64_PROCESSOR_ERROR_CPU_ID_INFO_VALID BIT1
///@}
///
/// IA32/X64 Processor Error Record
///
typedef struct {
UINT64 ValidFields;
UINT64 ApicId;
UINT8 CpuIdInfo[48];
} EFI_IA32_X64_PROCESSOR_ERROR_RECORD;
/// ///
/// The validation bit mask indicates which fields in the Cache Check structure /// The validation bit mask indicates which fields in the Cache Check structure
/// are valid. /// are valid.