/** @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
);\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
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