]> git.proxmox.com Git - mirror_edk2.git/blobdiff - UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuException.c
UefiCpuPkg/CpuExceptionHandlerLib: Add DumpCpuContext() implementation
[mirror_edk2.git] / UefiCpuPkg / Library / CpuExceptionHandlerLib / SecPeiCpuException.c
index 7e94e38ae1f50e30da355056d89e0616f5fb5584..5d6807b367100060e887cf8905983cb6157f6310 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   CPU exception handler library implemenation for SEC/PEIM modules.\r
 \r
-Copyright (c) 2012 - 2013, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2012 - 2017, Intel Corporation. All rights reserved.<BR>\r
 This program and the accompanying materials are licensed and made available under\r
 the terms and conditions of the BSD License that accompanies this distribution.\r
 The full text of the license may be found at\r
@@ -15,10 +15,6 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 #include <PiPei.h>\r
 #include "CpuExceptionCommon.h"\r
 \r
-//\r
-// Image Aglinment size for SEC/PEI phase\r
-//\r
-CONST UINTN    mImageAlignSize   = 4;\r
 CONST UINTN    mDoFarReturnFlag  = 0;\r
 \r
 /**\r
@@ -37,7 +33,7 @@ CommonExceptionHandler (
   //\r
   // Display ExceptionType, CPU information and Image information\r
   //  \r
-  DumpCpuContent (ExceptionType, SystemContext);\r
+  DumpImageAndCpuContent (ExceptionType, SystemContext);\r
   \r
   //\r
   // Enter a dead loop.\r