summaryrefslogtreecommitdiffstats
path: root/MdePkg
diff options
context:
space:
mode:
authorHao Wu <hao.a.wu@intel.com>2016-03-15 10:00:40 +0800
committerHao Wu <hao.a.wu@intel.com>2016-04-06 11:14:24 +0800
commit24c2f31356f3693eb6a99ce217db50518790971c (patch)
tree73b92356b881edf58077721f64d31f8c9f9a3972 /MdePkg
parentf3ee38dd958d0bdbebc05441db15a84e70126552 (diff)
downloadedk2-24c2f31356f3693eb6a99ce217db50518790971c.tar.gz
edk2-24c2f31356f3693eb6a99ce217db50518790971c.tar.bz2
edk2-24c2f31356f3693eb6a99ce217db50518790971c.zip
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>
Diffstat (limited to 'MdePkg')
-rw-r--r--MdePkg/Include/Guid/Cper.h19
1 files changed, 18 insertions, 1 deletions
diff --git a/MdePkg/Include/Guid/Cper.h b/MdePkg/Include/Guid/Cper.h
index d6223df2b5..88e3a5874f 100644
--- a/MdePkg/Include/Guid/Cper.h
+++ b/MdePkg/Include/Guid/Cper.h
@@ -1,7 +1,7 @@
/** @file
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>
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
@@ -347,6 +347,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
/// are valid.
///@{