/** @file\r
CPU Exception Handler Library common functions.\r
\r
- Copyright (c) 2012 - 2016, Intel Corporation. All rights reserved.<BR>\r
- This program and the accompanying materials\r
- are licensed and made available under the terms and conditions of the BSD License\r
- which accompanies this distribution. The full text of the license may be found at\r
- http://opensource.org/licenses/bsd-license.php\r
-\r
- THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
- WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+ Copyright (c) 2012 - 2019, Intel Corporation. All rights reserved.<BR>\r
+ SPDX-License-Identifier: BSD-2-Clause-Patent\r
\r
**/\r
\r
//\r
// 1 means an error code will be pushed, otherwise 0\r
//\r
-CONST UINT32 mErrorCodeFlag = 0x00027d00;\r
+CONST UINT32 mErrorCodeFlag = 0x00227d00;\r
\r
//\r
// Define the maximum message length\r
"#AC - Alignment Check",\r
"#MC - Machine-Check",\r
"#XM - SIMD floating-point",\r
- "#VE - Virtualization"\r
+ "#VE - Virtualization",\r
+ "#CP - Control Protection"\r
};\r
\r
#define EXCEPTION_KNOWN_NAME_NUM (sizeof (mExceptionNameStr) / sizeof (CHAR8 *))\r
if (EFI_ERROR (Status)) {\r
EntryPoint = NULL;\r
}\r
- InternalPrintMessage ("!!!! Find image ");\r
+ InternalPrintMessage ("!!!! Find image based on IP(0x%x) ", CurrentEip);\r
PdbPointer = PeCoffLoaderGetPdbPointer ((VOID *) Pe32Data);\r
if (PdbPointer != NULL) {\r
InternalPrintMessage ("%a", PdbPointer);\r
VectorInfo ++;\r
}\r
return EFI_SUCCESS;\r
-}
\ No newline at end of file
+}\r