Home
last modified time | relevance | path

Searched refs:CpuState (Results 1 – 9 of 9) sorted by relevance

/device/linaro/bootloader/edk2/UefiCpuPkg/PiSmmCpuDxeSmm/Ia32/
DSemaphore.c37 SMRAM_SAVE_STATE_MAP *CpuState; in SemaphoreHook() local
41 CpuState = (SMRAM_SAVE_STATE_MAP *)(UINTN)(SMM_DEFAULT_SMBASE + SMRAM_SAVE_STATE_MAP_OFFSET); in SemaphoreHook()
44 CpuState, in SemaphoreHook()
/device/linaro/bootloader/edk2/UefiCpuPkg/PiSmmCpuDxeSmm/X64/
DSemaphore.c48 SMRAM_SAVE_STATE_MAP *CpuState; in SemaphoreHook() local
54 CpuState = (SMRAM_SAVE_STATE_MAP *)(UINTN)(SMM_DEFAULT_SMBASE + SMRAM_SAVE_STATE_MAP_OFFSET); in SemaphoreHook()
57 CpuState, in SemaphoreHook()
/device/linaro/bootloader/edk2/UefiCpuPkg/PiSmmCpuDxeSmm/
DSmramSaveState.c584 SMRAM_SAVE_STATE_MAP *CpuState, in HookReturnFromSmm() argument
593 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 …]
DPiSmmCpuDxeSmm.h767 SMRAM_SAVE_STATE_MAP *CpuState,
/device/linaro/bootloader/edk2/QuarkSocPkg/QuarkNorthCluster/Library/SmmCpuFeaturesLib/
DSmmCpuFeaturesLib.c58 SMRAM_SAVE_STATE_MAP *CpuState; in SmmCpuFeaturesInitializeProcessor() local
63 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
/device/linaro/bootloader/edk2/UefiCpuPkg/Library/SmmCpuFeaturesLib/
DSmmCpuFeaturesLib.c217 SMRAM_SAVE_STATE_MAP *CpuState; in SmmCpuFeaturesInitializeProcessor() local
227 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
/device/linaro/bootloader/edk2/OvmfPkg/Library/SmmCpuFeaturesLib/
DSmmCpuFeaturesLib.c85 QEMU_SMRAM_SAVE_STATE_MAP *CpuState; in SmmCpuFeaturesInitializeProcessor() local
90 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() argument
143 QEMU_SMRAM_SAVE_STATE_MAP *CpuSaveState = (QEMU_SMRAM_SAVE_STATE_MAP *)CpuState; in SmmCpuFeaturesHookReturnFromSmm()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Compatibility/MpServicesOnFrameworkMpServicesThunk/
DMpServicesOnFrameworkMpServicesThunk.c832 CPU_STATE CpuState; in CheckAllAPs() local
853 CpuState = CpuData->State; in CheckAllAPs()
856 if (CpuState == CpuStateFinished) { in CheckAllAPs()
943 CPU_STATE CpuState; in CheckThisAP() local
956 CpuState = CpuData->State; in CheckThisAP()
962 if (CpuState == CpuStateFinished) { in CheckThisAP()
/device/linaro/bootloader/edk2/UefiCpuPkg/Include/Library/
DSmmCpuFeaturesLib.h123 IN SMRAM_SAVE_STATE_MAP *CpuState,