]> git.proxmox.com Git - mirror_edk2.git/blobdiff - UefiCpuPkg/Library/CpuExceptionHandlerLib/CpuExceptionCommon.h
UefiCpuPkg: Convert all .uni files to utf-8
[mirror_edk2.git] / UefiCpuPkg / Library / CpuExceptionHandlerLib / CpuExceptionCommon.h
index 1b899b30249dd1050a8e85ce5dc9f84b16ba05a4..b28e9c574a65ec4a06ed24d9c1729f4b0b795e64 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   Common header file for CPU Exception Handler Library.\r
 \r
-  Copyright (c) 2012 - 2013, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2012 - 2015, 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
@@ -204,17 +204,19 @@ ArchRestoreExceptionContext (
   );\r
 \r
 /**\r
-  Fix up the vector number in the vector code.\r
+  Fix up the vector number and function address in the vector code.\r
  \r
-  @param[in] VectorBase   Base address of the vector handler.\r
-  @param[in] VectorNum    Index of vector.\r
+  @param[in] NewVectorAddr   New vector handler address.\r
+  @param[in] VectorNum       Index of vector.\r
+  @param[in] OldVectorAddr   Old vector handler address.\r
 \r
 **/\r
 VOID\r
 EFIAPI\r
 AsmVectorNumFixup (\r
-  IN VOID    *VectorBase,\r
-  IN UINT8   VectorNum\r
+  IN VOID    *NewVectorAddr,\r
+  IN UINT8   VectorNum,\r
+  IN VOID    *OldVectorAddr\r
   );\r
 \r
 /**\r
@@ -235,5 +237,17 @@ ReadAndVerifyVectorInfo (
   IN  UINTN                         VectorCount\r
   );\r
 \r
+/**\r
+  Get ASCII format string exception name by exception type.\r
+\r
+  @param ExceptionType  Exception type.\r
+\r
+  @return  ASCII format string exception name.\r
+**/\r
+CONST CHAR8 *\r
+GetExceptionNameStr (\r
+  IN EFI_EXCEPTION_TYPE          ExceptionType\r
+  );\r
+\r
 #endif\r
 \r