Searched refs:CpuState (Results 1 – 9 of 9) sorted by relevance
37 SMRAM_SAVE_STATE_MAP *CpuState; in SemaphoreHook() local41 CpuState = (SMRAM_SAVE_STATE_MAP *)(UINTN)(SMM_DEFAULT_SMBASE + SMRAM_SAVE_STATE_MAP_OFFSET); in SemaphoreHook()44 CpuState, in SemaphoreHook()
48 SMRAM_SAVE_STATE_MAP *CpuState; in SemaphoreHook() local54 CpuState = (SMRAM_SAVE_STATE_MAP *)(UINTN)(SMM_DEFAULT_SMBASE + SMRAM_SAVE_STATE_MAP_OFFSET); in SemaphoreHook()57 CpuState, in SemaphoreHook()
584 SMRAM_SAVE_STATE_MAP *CpuState, in HookReturnFromSmm() argument593 CpuState, in HookReturnFromSmm()602 OriginalInstructionPointer = (UINT64)CpuState->x86._EIP; in HookReturnFromSmm()603 CpuState->x86._EIP = (UINT32)NewInstructionPointer; in HookReturnFromSmm()608 if ((CpuState->x86.AutoHALTRestart & BIT0) != 0) { in HookReturnFromSmm()609 CpuState->x86.AutoHALTRestart &= ~BIT0; in HookReturnFromSmm()612 OriginalInstructionPointer = CpuState->x64._RIP; in HookReturnFromSmm()613 if ((CpuState->x64.IA32_EFER & LMA) == 0) { in HookReturnFromSmm()614 CpuState->x64._RIP = (UINT32)NewInstructionPointer32; in HookReturnFromSmm()616 CpuState->x64._RIP = (UINT32)NewInstructionPointer; in HookReturnFromSmm()[all …]
767 SMRAM_SAVE_STATE_MAP *CpuState,
58 SMRAM_SAVE_STATE_MAP *CpuState; in SmmCpuFeaturesInitializeProcessor() local63 CpuState = (SMRAM_SAVE_STATE_MAP *)(UINTN)(SMM_DEFAULT_SMBASE + SMRAM_SAVE_STATE_MAP_OFFSET); in SmmCpuFeaturesInitializeProcessor()64 CpuState->x86.SMBASE = CpuHotPlugData->SmBase[CpuIndex]; in SmmCpuFeaturesInitializeProcessor()120 IN SMRAM_SAVE_STATE_MAP *CpuState, in SmmCpuFeaturesHookReturnFromSmm() argument
217 SMRAM_SAVE_STATE_MAP *CpuState; in SmmCpuFeaturesInitializeProcessor() local227 CpuState = (SMRAM_SAVE_STATE_MAP *)(UINTN)(SMM_DEFAULT_SMBASE + SMRAM_SAVE_STATE_MAP_OFFSET); in SmmCpuFeaturesInitializeProcessor()228 CpuState->x86.SMBASE = (UINT32)CpuHotPlugData->SmBase[CpuIndex]; in SmmCpuFeaturesInitializeProcessor()351 IN SMRAM_SAVE_STATE_MAP *CpuState, in SmmCpuFeaturesHookReturnFromSmm() argument
85 QEMU_SMRAM_SAVE_STATE_MAP *CpuState; in SmmCpuFeaturesInitializeProcessor() local90 CpuState = (QEMU_SMRAM_SAVE_STATE_MAP *)(UINTN)(SMM_DEFAULT_SMBASE + SMRAM_SAVE_STATE_MAP_OFFSET); in SmmCpuFeaturesInitializeProcessor()91 if ((CpuState->x86.SMMRevId & 0xFFFF) == 0) { in SmmCpuFeaturesInitializeProcessor()92 CpuState->x86.SMBASE = (UINT32)CpuHotPlugData->SmBase[CpuIndex]; in SmmCpuFeaturesInitializeProcessor()94 CpuState->x64.SMBASE = (UINT32)CpuHotPlugData->SmBase[CpuIndex]; in SmmCpuFeaturesInitializeProcessor()137 IN SMRAM_SAVE_STATE_MAP *CpuState, in SmmCpuFeaturesHookReturnFromSmm() argument143 QEMU_SMRAM_SAVE_STATE_MAP *CpuSaveState = (QEMU_SMRAM_SAVE_STATE_MAP *)CpuState; in SmmCpuFeaturesHookReturnFromSmm()
832 CPU_STATE CpuState; in CheckAllAPs() local853 CpuState = CpuData->State; in CheckAllAPs()856 if (CpuState == CpuStateFinished) { in CheckAllAPs()943 CPU_STATE CpuState; in CheckThisAP() local956 CpuState = CpuData->State; in CheckThisAP()962 if (CpuState == CpuStateFinished) { in CheckThisAP()
123 IN SMRAM_SAVE_STATE_MAP *CpuState,