Lines Matching refs:ExceptionType
36 @param ExceptionType Exception type.
42 IN EFI_EXCEPTION_TYPE ExceptionType,
50 switch (mReservedVectors[ExceptionType].Attribute) {
55 ExceptionHandlerContext->ExceptionDataFlag = (mErrorCodeFlag & (1 << ExceptionType)) ? TRUE : FALSE;
56 ExceptionHandlerContext->OldIdtHandler = mReservedVectors[ExceptionType].ExceptonHandler;
63 if (AcquireSpinLockOrFail (&mReservedVectors[ExceptionType].SpinLock)) {
67 mReservedVectors[ExceptionType].ApicId = GetApicId ();
68 ArchSaveExceptionContext (ExceptionType, SystemContext);
69 ExceptionHandlerContext->ExceptionDataFlag = (mErrorCodeFlag & (1 << ExceptionType)) ? TRUE : FALSE;
70 ExceptionHandlerContext->OldIdtHandler = mReservedVectors[ExceptionType].ExceptonHandler;
76 if (mReservedVectors[ExceptionType].ApicId == GetApicId ()) {
81 ArchRestoreExceptionContext (ExceptionType, SystemContext);
85 ReleaseSpinLock (&mReservedVectors[ExceptionType].SpinLock);
101 if (mExternalInterruptHandler[ExceptionType] != NULL) {
102 (mExternalInterruptHandler[ExceptionType]) (ExceptionType, SystemContext);
103 } else if (ExceptionType < CPU_EXCEPTION_NUM) {
111 // Display ExceptionType, CPU information and Image information
113 DumpCpuContent (ExceptionType, SystemContext);
121 if (mReservedVectors[ExceptionType].Attribute != EFI_VECTOR_HANDOFF_HOOK_BEFORE) {