summaryrefslogtreecommitdiffstats
path: root/UefiCpuPkg/Library/CpuExceptionHandlerLib/LoongArch/ExceptionCommon.h
diff options
context:
space:
mode:
Diffstat (limited to 'UefiCpuPkg/Library/CpuExceptionHandlerLib/LoongArch/ExceptionCommon.h')
-rw-r--r--UefiCpuPkg/Library/CpuExceptionHandlerLib/LoongArch/ExceptionCommon.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/UefiCpuPkg/Library/CpuExceptionHandlerLib/LoongArch/ExceptionCommon.h b/UefiCpuPkg/Library/CpuExceptionHandlerLib/LoongArch/ExceptionCommon.h
index 6b65001738..a8c1e7b10c 100644
--- a/UefiCpuPkg/Library/CpuExceptionHandlerLib/LoongArch/ExceptionCommon.h
+++ b/UefiCpuPkg/Library/CpuExceptionHandlerLib/LoongArch/ExceptionCommon.h
@@ -13,6 +13,7 @@
#define MAX_DEBUG_MESSAGE_LENGTH 0x100
extern INTN mExceptionKnownNameNum;
+extern INTN mInterruptKnownNameNum;
/**
Get ASCII format string exception name by exception type.
@@ -28,6 +29,19 @@ GetExceptionNameStr (
);
/**
+ Get ASCII format string interrupt name by exception type.
+
+ @param InterruptType Interrupt type.
+
+ @return ASCII format string interrupt name.
+
+**/
+CONST CHAR8 *
+GetInterruptNameStr (
+ IN EFI_EXCEPTION_TYPE InterruptType
+ );
+
+/**
Prints a message to the serial port.
@param[in] Format Format string for the message to print.