Searched refs:ReservedVectors (Results 1 – 7 of 7) sorted by relevance
33 RESERVED_VECTORS_DATA *ReservedVectors; in CommonExceptionHandlerWorker() local37 ReservedVectors = ExceptionHandlerData->ReservedVectors; in CommonExceptionHandlerWorker()40 switch (ReservedVectors[ExceptionType].Attribute) { in CommonExceptionHandlerWorker()46 ExceptionHandlerContext->OldIdtHandler = ReservedVectors[ExceptionType].ExceptonHandler; in CommonExceptionHandlerWorker()53 if (AcquireSpinLockOrFail (&ReservedVectors[ExceptionType].SpinLock)) { in CommonExceptionHandlerWorker()57 ReservedVectors[ExceptionType].ApicId = GetApicId (); in CommonExceptionHandlerWorker()60 ExceptionHandlerContext->OldIdtHandler = ReservedVectors[ExceptionType].ExceptonHandler; in CommonExceptionHandlerWorker()66 if (ReservedVectors[ExceptionType].ApicId == GetApicId ()) { in CommonExceptionHandlerWorker()75 ReleaseSpinLock (&ReservedVectors[ExceptionType].SpinLock); in CommonExceptionHandlerWorker()112 if (ReservedVectors[ExceptionType].Attribute != EFI_VECTOR_HANDOFF_HOOK_BEFORE) { in CommonExceptionHandlerWorker()[all …]
71 mExceptionHandlerData.ReservedVectors = mReservedVectorsData; in InitializeCpuExceptionHandlers()107 RESERVED_VECTORS_DATA *ReservedVectors; in InitializeCpuInterruptHandlers() local110 ReservedVectors = AllocatePool (sizeof (RESERVED_VECTORS_DATA) * CPU_INTERRUPT_NUM); in InitializeCpuInterruptHandlers()111 ASSERT (ReservedVectors != NULL); in InitializeCpuInterruptHandlers()112 SetMem ((VOID *) ReservedVectors, sizeof (RESERVED_VECTORS_DATA) * CPU_INTERRUPT_NUM, 0xff); in InitializeCpuInterruptHandlers()114 Status = ReadAndVerifyVectorInfo (VectorInfo, ReservedVectors, CPU_INTERRUPT_NUM); in InitializeCpuInterruptHandlers()116 FreePool (ReservedVectors); in InitializeCpuInterruptHandlers()157 mExceptionHandlerData.ReservedVectors = ReservedVectors; in InitializeCpuInterruptHandlers()
98 RESERVED_VECTORS_DATA *ReservedVectors; in InitializeCpuExceptionHandlers() local100 ReservedVectors = AllocatePool (sizeof (RESERVED_VECTORS_DATA) * CPU_EXCEPTION_NUM); in InitializeCpuExceptionHandlers()101 ASSERT (ReservedVectors != NULL); in InitializeCpuExceptionHandlers()105 ExceptionHandlerData->ReservedVectors = ReservedVectors; in InitializeCpuExceptionHandlers()111 FreePool (ReservedVectors); in InitializeCpuExceptionHandlers()
71 mExceptionHandlerData.ReservedVectors = mReservedVectorsData; in InitializeCpuExceptionHandlers()
51 RESERVED_VECTORS_DATA *ReservedVectors; member
66 RESERVED_VECTORS_DATA *ReservedVectors; in ArchSaveExceptionContext() local68 ReservedVectors = ExceptionHandlerData->ReservedVectors; in ArchSaveExceptionContext()72 ReservedVectors[ExceptionType].OldSs = SystemContext.SystemContextX64->Ss; in ArchSaveExceptionContext()73 ReservedVectors[ExceptionType].OldSp = SystemContext.SystemContextX64->Rsp; in ArchSaveExceptionContext()74 ReservedVectors[ExceptionType].OldFlags = SystemContext.SystemContextX64->Rflags; in ArchSaveExceptionContext()75 ReservedVectors[ExceptionType].OldCs = SystemContext.SystemContextX64->Cs; in ArchSaveExceptionContext()76 ReservedVectors[ExceptionType].OldIp = SystemContext.SystemContextX64->Rip; in ArchSaveExceptionContext()77 ReservedVectors[ExceptionType].ExceptionData = SystemContext.SystemContextX64->ExceptionData; in ArchSaveExceptionContext()87 …SystemContext.SystemContextX64->Rip = (UINTN) ReservedVectors[ExceptionType].HookAfterStubHeaderCo… in ArchSaveExceptionContext()104 RESERVED_VECTORS_DATA *ReservedVectors; in ArchRestoreExceptionContext() local[all …]
65 RESERVED_VECTORS_DATA *ReservedVectors; in ArchSaveExceptionContext() local67 ReservedVectors = ExceptionHandlerData->ReservedVectors; in ArchSaveExceptionContext()71 ReservedVectors[ExceptionType].OldFlags = SystemContext.SystemContextIa32->Eflags; in ArchSaveExceptionContext()72 ReservedVectors[ExceptionType].OldCs = SystemContext.SystemContextIa32->Cs; in ArchSaveExceptionContext()73 ReservedVectors[ExceptionType].OldIp = SystemContext.SystemContextIa32->Eip; in ArchSaveExceptionContext()74 ReservedVectors[ExceptionType].ExceptionData = SystemContext.SystemContextIa32->ExceptionData; in ArchSaveExceptionContext()84 …SystemContext.SystemContextIa32->Eip = (UINTN) ReservedVectors[ExceptionType].HookAfterStubHead… in ArchSaveExceptionContext()101 RESERVED_VECTORS_DATA *ReservedVectors; in ArchRestoreExceptionContext() local103 ReservedVectors = ExceptionHandlerData->ReservedVectors; in ArchRestoreExceptionContext()104 SystemContext.SystemContextIa32->Eflags = ReservedVectors[ExceptionType].OldFlags; in ArchRestoreExceptionContext()[all …]