/device/linaro/bootloader/edk2/UefiCpuPkg/PiSmmCpuDxeSmm/ |
D | MpService.c | 283 IN UINTN CpuIndex in ReplaceOSMtrrs() argument 303 IN UINTN CpuIndex, in BSPHandler() argument 313 ASSERT (CpuIndex == mSmmMpSyncData->BspIndex); in BSPHandler() 329 *(mSmmMpSyncData->CpuData[CpuIndex].Present) = TRUE; in BSPHandler() 342 gSmmCpuPrivate->SmmCoreEntryContext.CurrentlyExecutingCpu = CpuIndex; in BSPHandler() 396 ReplaceOSMtrrs (CpuIndex); in BSPHandler() 408 AcquireSpinLockOrFail (mSmmMpSyncData->CpuData[CpuIndex].Busy); in BSPHandler() 424 if (Index != CpuIndex && *(mSmmMpSyncData->CpuData[Index].Present)) { in BSPHandler() 511 *(mSmmMpSyncData->CpuData[CpuIndex].Present) = FALSE; in BSPHandler() 543 IN UINTN CpuIndex, in APHandler() argument [all …]
|
D | SmmProfile.c | 160 UINTN CpuIndex, in GetSourceFromDestinationOnBts() argument 170 CurrentBTSRecord = (BRANCH_TRACE_RECORD *)mMsrDsArea[CpuIndex]->BTSIndex; in GetSourceFromDestinationOnBts() 172 if ((UINTN)CurrentBTSRecord < (UINTN)mMsrBTSRecord[CpuIndex]) { in GetSourceFromDestinationOnBts() 176 … CurrentBTSRecord = (BRANCH_TRACE_RECORD *)((UINTN)mMsrDsArea[CpuIndex]->BTSAbsoluteMaximum - 1); in GetSourceFromDestinationOnBts() 216 UINTN CpuIndex; in DebugExceptionHandler() local 222 CpuIndex = GetCpuIndex (); in DebugExceptionHandler() 227 for (PFEntry = 0; PFEntry < mPFEntryCount[CpuIndex]; PFEntry++) { in DebugExceptionHandler() 228 *mLastPFEntryPointer[CpuIndex][PFEntry] = mLastPFEntryValue[CpuIndex][PFEntry]; in DebugExceptionHandler() 234 mPFEntryCount[CpuIndex] = 0; in DebugExceptionHandler() 1034 IN UINTN CpuIndex in ActivateBTS() argument [all …]
|
D | SmramSaveState.c | 276 IN UINTN CpuIndex, in ReadSaveStateRegisterByIndex() argument 288 CpuSaveState = gSmst->CpuSaveState[CpuIndex]; in ReadSaveStateRegisterByIndex() 360 IN UINTN CpuIndex, in ReadSaveStateRegister() argument 394 …ReadSaveStateRegisterByIndex (CpuIndex, SMM_SAVE_STATE_REGISTER_SMMREVID_INDEX, sizeof(SmmRevId), … in ReadSaveStateRegister() 406 …ReadSaveStateRegisterByIndex (CpuIndex, SMM_SAVE_STATE_REGISTER_IOMISC_INDEX, sizeof(IoMisc.Uint32… in ReadSaveStateRegister() 435 …ReadSaveStateRegister (CpuIndex, EFI_SMM_SAVE_STATE_REGISTER_RAX, mSmmCpuIoWidth[IoMisc.Bits.Lengt… in ReadSaveStateRegister() 438 …ReadSaveStateRegisterByIndex(CpuIndex, SMM_SAVE_STATE_REGISTER_IOMEMADDR_INDEX, sizeof(IoMemAddr),… in ReadSaveStateRegister() 447 return ReadSaveStateRegisterByIndex (CpuIndex, GetRegisterIndex (Register), Width, Buffer); in ReadSaveStateRegister() 471 IN UINTN CpuIndex, in WriteSaveStateRegister() argument 502 CpuSaveState = gSmst->CpuSaveState[CpuIndex]; in WriteSaveStateRegister() [all …]
|
D | PiSmmCpuDxeSmm.h | 212 IN UINTN CpuIndex, 236 IN UINTN CpuIndex, 261 IN UINTN CpuIndex, 288 IN UINTN CpuIndex, 554 IN UINTN CpuIndex, 576 IN UINTN CpuIndex, 732 IN UINTN CpuIndex, 766 IN UINTN CpuIndex, 811 IN UINTN CpuIndex,
|
D | PiSmmCpuDxeSmm.c | 229 IN UINTN CpuIndex, in SmmReadSaveState() argument 238 if ((CpuIndex >= gSmst->NumberOfCpus) || (Buffer == NULL)) { in SmmReadSaveState() 257 if (*(mSmmMpSyncData->CpuData[CpuIndex].Present)) { in SmmReadSaveState() 258 *(UINT64 *)Buffer = gSmmCpuPrivate->ProcessorInfo[CpuIndex].ProcessorId; in SmmReadSaveState() 265 if (!(*(mSmmMpSyncData->CpuData[CpuIndex].Present))) { in SmmReadSaveState() 269 Status = SmmCpuFeaturesReadSaveStateRegister (CpuIndex, Register, Width, Buffer); in SmmReadSaveState() 271 Status = ReadSaveStateRegister (CpuIndex, Register, Width, Buffer); in SmmReadSaveState() 296 IN UINTN CpuIndex, in SmmWriteSaveState() argument 305 if ((CpuIndex >= gSmst->NumberOfCpus) || (Buffer == NULL)) { in SmmWriteSaveState() 316 if (!mSmmMpSyncData->CpuData[CpuIndex].Present) { in SmmWriteSaveState() [all …]
|
D | SmmProfile.h | 32 IN UINTN CpuIndex
|
/device/linaro/bootloader/edk2/UefiCpuPkg/Include/Library/ |
D | SmmCpuFeaturesLib.h | 82 IN UINTN CpuIndex, 122 IN UINTN CpuIndex, 185 IN UINTN CpuIndex, 240 IN UINTN CpuIndex 253 IN UINTN CpuIndex 272 IN UINTN CpuIndex, 291 IN UINTN CpuIndex, 309 IN UINTN CpuIndex, 335 IN UINTN CpuIndex, 360 IN UINTN CpuIndex,
|
/device/linaro/bootloader/edk2/QuarkSocPkg/QuarkNorthCluster/Library/SmmCpuFeaturesLib/ |
D | SmmCpuFeaturesLib.c | 52 IN UINTN CpuIndex, in SmmCpuFeaturesInitializeProcessor() argument 64 CpuState->x86.SMBASE = CpuHotPlugData->SmBase[CpuIndex]; in SmmCpuFeaturesInitializeProcessor() 119 IN UINTN CpuIndex, in SmmCpuFeaturesHookReturnFromSmm() argument 190 IN UINTN CpuIndex, in SmmCpuFeaturesInstallSmiHandler() argument 270 IN UINTN CpuIndex in SmmCpuFeaturesRendezvousEntry() argument 285 IN UINTN CpuIndex in SmmCpuFeaturesRendezvousExit() argument 306 IN UINTN CpuIndex, in SmmCpuFeaturesIsSmmRegisterSupported() argument 328 IN UINTN CpuIndex, in SmmCpuFeaturesGetSmmRegister() argument 349 IN UINTN CpuIndex, in SmmCpuFeaturesSetSmmRegister() argument 377 IN UINTN CpuIndex, in SmmCpuFeaturesReadSaveStateRegister() argument [all …]
|
/device/linaro/bootloader/edk2/UefiCpuPkg/Library/SmmCpuFeaturesLib/ |
D | SmmCpuFeaturesLib.c | 211 IN UINTN CpuIndex, in SmmCpuFeaturesInitializeProcessor() argument 228 CpuState->x86.SMBASE = (UINT32)CpuHotPlugData->SmBase[CpuIndex]; in SmmCpuFeaturesInitializeProcessor() 276 mSmrrEnabled[CpuIndex] = FALSE; in SmmCpuFeaturesInitializeProcessor() 350 IN UINTN CpuIndex, in SmmCpuFeaturesHookReturnFromSmm() argument 431 IN UINTN CpuIndex in SmmCpuFeaturesRendezvousEntry() argument 437 if (mSmrrSupported && !mSmrrEnabled[CpuIndex]) { in SmmCpuFeaturesRendezvousEntry() 439 mSmrrEnabled[CpuIndex] = TRUE; in SmmCpuFeaturesRendezvousEntry() 453 IN UINTN CpuIndex in SmmCpuFeaturesRendezvousExit() argument 474 IN UINTN CpuIndex, in SmmCpuFeaturesIsSmmRegisterSupported() argument 499 IN UINTN CpuIndex, in SmmCpuFeaturesGetSmmRegister() argument [all …]
|
D | SmmCpuFeaturesLibNoStm.c | 78 IN UINTN CpuIndex, in SmmCpuFeaturesInstallSmiHandler() argument
|
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/AcpiPlatform/ |
D | AcpiPlatformHooks.c | 117 IN UINT32 CpuIndex, 149 ApicId = ProcessorId2ApicId (CpuIndex+1); 249 UINT32 CpuIndex; in PatchGv3SsdtTable() 267 CpuIndex = 0; in PatchGv3SsdtTable() 279 CpuIndex = *(SsdtPointer + 7); in PatchGv3SsdtTable() 280 if (CpuIndex >= '0' && CpuIndex <= '9') { in PatchGv3SsdtTable() 281 CpuIndex -= '0'; in PatchGv3SsdtTable() 283 if (CpuIndex > '9') { in PatchGv3SsdtTable() 284 CpuIndex -= '7'; in PatchGv3SsdtTable() 289 LocateCpuEistProtocol (CpuIndex, &EistProt); in PatchGv3SsdtTable() [all …]
|
/device/linaro/bootloader/edk2/OvmfPkg/Library/SmmCpuFeaturesLib/ |
D | SmmCpuFeaturesLib.c | 79 IN UINTN CpuIndex, in SmmCpuFeaturesInitializeProcessor() argument 92 CpuState->x86.SMBASE = (UINT32)CpuHotPlugData->SmBase[CpuIndex]; in SmmCpuFeaturesInitializeProcessor() 94 CpuState->x64.SMBASE = (UINT32)CpuHotPlugData->SmBase[CpuIndex]; in SmmCpuFeaturesInitializeProcessor() 136 IN UINTN CpuIndex, in SmmCpuFeaturesHookReturnFromSmm() argument 235 IN UINTN CpuIndex, in SmmCpuFeaturesInstallSmiHandler() argument 305 IN UINTN CpuIndex in SmmCpuFeaturesRendezvousEntry() argument 323 IN UINTN CpuIndex in SmmCpuFeaturesRendezvousExit() argument 344 IN UINTN CpuIndex, in SmmCpuFeaturesIsSmmRegisterSupported() argument 367 IN UINTN CpuIndex, in SmmCpuFeaturesGetSmmRegister() argument 393 IN UINTN CpuIndex, in SmmCpuFeaturesSetSmmRegister() argument [all …]
|
/device/linaro/bootloader/edk2/QuarkSocPkg/QuarkNorthCluster/Smm/DxeSmm/QncSmmDispatcher/QNC/ |
D | QNCSmmSw.c | 66 UINTN CpuIndex; in SwGetBuffer() local 80 CpuIndex = 0; in SwGetBuffer() 90 CpuIndex = Index; in SwGetBuffer() 95 Record->CommBuffer.Sw.SwSmiCpuIndex = CpuIndex; in SwGetBuffer()
|
/device/linaro/bootloader/edk2/UefiCpuPkg/PiSmmCpuDxeSmm/X64/ |
D | SmmProfileArch.c | 143 UINTN CpuIndex, in RestorePageTableAbove4G() argument 282 ASSERT (mPFEntryCount[CpuIndex] < MAX_PF_ENTRY_COUNT); in RestorePageTableAbove4G() 283 if (mPFEntryCount[CpuIndex] < MAX_PF_ENTRY_COUNT) { in RestorePageTableAbove4G() 284 PFIndex = mPFEntryCount[CpuIndex]; in RestorePageTableAbove4G() 285 mLastPFEntryValue[CpuIndex][PFIndex] = PageTable[PTIndex]; in RestorePageTableAbove4G() 286 mLastPFEntryPointer[CpuIndex][PFIndex] = &PageTable[PTIndex]; in RestorePageTableAbove4G() 287 mPFEntryCount[CpuIndex]++; in RestorePageTableAbove4G()
|
D | Semaphore.c | 44 IN UINTN CpuIndex, in SemaphoreHook() argument 56 CpuIndex, in SemaphoreHook()
|
D | SmmProfileArch.h | 82 UINTN CpuIndex,
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Compatibility/SmmBaseHelper/ |
D | SmmBaseHelper.c | 175 IN UINTN CpuIndex, in ReadCpuSaveState() argument 184 State = (EFI_SMM_CPU_STATE *)gSmst->CpuSaveState[CpuIndex]; in ReadCpuSaveState() 188 SaveState = &mFrameworkSmst->CpuSaveState[CpuIndex].Ia32SaveState; in ReadCpuSaveState() 207 CpuIndex, in ReadCpuSaveState() 227 IN UINTN CpuIndex, in WriteCpuSaveState() argument 235 State = (EFI_SMM_CPU_STATE *)gSmst->CpuSaveState[CpuIndex]; in WriteCpuSaveState() 240 SaveState = &mFrameworkSmst->CpuSaveState[CpuIndex].Ia32SaveState; in WriteCpuSaveState() 256 CpuIndex, in WriteCpuSaveState() 289 UINTN CpuIndex; in ReadWriteCpuStatePage() local 303 …for (CpuIndex = FirstSSIndex; CpuIndex <= LastSSIndex && CpuIndex < mNumberOfProcessors; CpuIndex+… in ReadWriteCpuStatePage() [all …]
|
/device/linaro/bootloader/edk2/UefiCpuPkg/CpuMpPei/ |
D | CpuBist.c | 174 UINTN CpuIndex; in CollectBistDataFromPpi() local 241 for (CpuIndex = 0; CpuIndex < NumberOfData; CpuIndex ++) { in CollectBistDataFromPpi() 243 if (ProcessorInfo.ProcessorId == CpuInstance[CpuIndex].CpuLocation) { in CollectBistDataFromPpi() 247 BistData = CpuInstance[CpuIndex].InfoRecord.IA32HealthFlags; in CollectBistDataFromPpi()
|
/device/linaro/bootloader/edk2/UefiCpuPkg/PiSmmCpuDxeSmm/Ia32/ |
D | Semaphore.c | 33 IN UINTN CpuIndex, in SemaphoreHook() argument 43 CpuIndex, in SemaphoreHook()
|
D | PageTbl.c | 95 UINTN CpuIndex; in SmiPFHandler() local 109 CpuIndex = GetCpuIndex (); in SmiPFHandler() 110 GuardPageAddress = (mSmmStackArrayBase + EFI_PAGE_SIZE + CpuIndex * mSmmStackSize); in SmiPFHandler()
|
D | SmmProfileArch.c | 60 UINTN CpuIndex, in RestorePageTableAbove4G() argument
|
D | SmmProfileArch.h | 74 UINTN CpuIndex,
|
/device/linaro/bootloader/edk2/MdePkg/Include/Protocol/ |
D | McaInitPmi.h | 71 IN UINT64 CpuIndex, 97 IN UINT64 CpuIndex, 116 IN UINT64 CpuIndex,
|
D | SmmCpu.h | 197 IN UINTN CpuIndex, 227 IN UINTN CpuIndex,
|
/device/linaro/bootloader/edk2/UefiCpuPkg/Feature/Capsule/MicrocodeUpdateDxe/ |
D | MicrocodeFmp.c | 427 UINTN CpuIndex; in InitializedProcessorMicrocodeIndex() local 433 for (CpuIndex = 0; CpuIndex < MicrocodeFmpPrivate->ProcessorCount; CpuIndex++) { in InitializedProcessorMicrocodeIndex() 434 if (MicrocodeFmpPrivate->ProcessorInfo[CpuIndex].MicrocodeIndex != (UINTN)-1) { in InitializedProcessorMicrocodeIndex() 441 TargetCpuIndex = CpuIndex; in InitializedProcessorMicrocodeIndex() 452 MicrocodeFmpPrivate->ProcessorInfo[CpuIndex].MicrocodeIndex = MicrocodeIndex; in InitializedProcessorMicrocodeIndex() 551 MicrocodeFmpPrivate->ProcessorInfo[Index].CpuIndex = Index; in InitializeProcessorInfo() 596 ProcessorInfo[Index].CpuIndex, in DumpPrivateInfo()
|