/device/linaro/bootloader/edk2/UefiCpuPkg/PiSmmCpuDxeSmm/ |
D | MpService.c | 279 IN UINTN CpuIndex in ReplaceOSMtrrs() argument 286 Psd = (PROCESSOR_SMM_DESCRIPTOR*)(mCpuHotPlugData.SmBase[CpuIndex] + SMM_PSD_OFFSET); in ReplaceOSMtrrs() 307 IN UINTN CpuIndex, in BSPHandler() argument 317 ASSERT (CpuIndex == mSmmMpSyncData->BspIndex); in BSPHandler() 333 mSmmMpSyncData->CpuData[CpuIndex].Present = TRUE; in BSPHandler() 346 gSmmCpuPrivate->SmmCoreEntryContext.CurrentlyExecutingCpu = CpuIndex; in BSPHandler() 400 ReplaceOSMtrrs (CpuIndex); in BSPHandler() 412 AcquireSpinLockOrFail (&mSmmMpSyncData->CpuData[CpuIndex].Busy); in BSPHandler() 428 if (Index != CpuIndex && mSmmMpSyncData->CpuData[Index].Present) { in BSPHandler() 515 mSmmMpSyncData->CpuData[CpuIndex].Present = FALSE; in BSPHandler() [all …]
|
D | SmmProfile.c | 165 UINTN CpuIndex, in GetSourceFromDestinationOnBts() argument 175 CurrentBTSRecord = (BRANCH_TRACE_RECORD *)mMsrDsArea[CpuIndex]->BTSIndex; in GetSourceFromDestinationOnBts() 177 if ((UINTN)CurrentBTSRecord < (UINTN)mMsrBTSRecord[CpuIndex]) { in GetSourceFromDestinationOnBts() 181 … CurrentBTSRecord = (BRANCH_TRACE_RECORD *)((UINTN)mMsrDsArea[CpuIndex]->BTSAbsoluteMaximum - 1); in GetSourceFromDestinationOnBts() 221 UINTN CpuIndex; in DebugExceptionHandler() local 227 CpuIndex = GetCpuIndex (); in DebugExceptionHandler() 232 for (PFEntry = 0; PFEntry < mPFEntryCount[CpuIndex]; PFEntry++) { in DebugExceptionHandler() 233 *mLastPFEntryPointer[CpuIndex][PFEntry] = mLastPFEntryValue[CpuIndex][PFEntry]; in DebugExceptionHandler() 239 mPFEntryCount[CpuIndex] = 0; in DebugExceptionHandler() 1089 IN UINTN CpuIndex in ActivateBTS() argument [all …]
|
D | SmramSaveState.c | 248 IN UINTN CpuIndex, in ReadSaveStateRegisterByIndex() argument 260 CpuSaveState = gSmst->CpuSaveState[CpuIndex]; in ReadSaveStateRegisterByIndex() 332 IN UINTN CpuIndex, in ReadSaveStateRegister() argument 366 …ReadSaveStateRegisterByIndex (CpuIndex, SMM_SAVE_STATE_REGISTER_SMMREVID_INDEX, sizeof(SmmRevId), … in ReadSaveStateRegister() 378 …ReadSaveStateRegisterByIndex (CpuIndex, SMM_SAVE_STATE_REGISTER_IOMISC_INDEX, sizeof(IoMisc.Uint32… in ReadSaveStateRegister() 407 …ReadSaveStateRegister (CpuIndex, EFI_SMM_SAVE_STATE_REGISTER_RAX, mSmmCpuIoWidth[IoMisc.Bits.Lengt… in ReadSaveStateRegister() 410 …ReadSaveStateRegisterByIndex(CpuIndex, SMM_SAVE_STATE_REGISTER_IOMEMADDR_INDEX, sizeof(IoMemAddr),… in ReadSaveStateRegister() 419 return ReadSaveStateRegisterByIndex (CpuIndex, GetRegisterIndex (Register), Width, Buffer); in ReadSaveStateRegister() 443 IN UINTN CpuIndex, in WriteSaveStateRegister() argument 474 CpuSaveState = gSmst->CpuSaveState[CpuIndex]; in WriteSaveStateRegister() [all …]
|
D | PiSmmCpuDxeSmm.h | 184 IN UINTN CpuIndex, 208 IN UINTN CpuIndex, 233 IN UINTN CpuIndex, 260 IN UINTN CpuIndex, 502 IN UINTN CpuIndex, 524 IN UINTN CpuIndex, 632 IN UINTN CpuIndex, 666 IN UINTN CpuIndex, 711 IN UINTN CpuIndex,
|
D | PiSmmCpuDxeSmm.c | 221 IN UINTN CpuIndex, in SmmReadSaveState() argument 230 if ((CpuIndex >= gSmst->NumberOfCpus) || (Buffer == NULL)) { in SmmReadSaveState() 249 if (mSmmMpSyncData->CpuData[CpuIndex].Present) { in SmmReadSaveState() 250 *(UINT64 *)Buffer = gSmmCpuPrivate->ProcessorInfo[CpuIndex].ProcessorId; in SmmReadSaveState() 257 if (!mSmmMpSyncData->CpuData[CpuIndex].Present) { in SmmReadSaveState() 261 Status = SmmCpuFeaturesReadSaveStateRegister (CpuIndex, Register, Width, Buffer); in SmmReadSaveState() 263 Status = ReadSaveStateRegister (CpuIndex, Register, Width, Buffer); in SmmReadSaveState() 288 IN UINTN CpuIndex, in SmmWriteSaveState() argument 297 if ((CpuIndex >= gSmst->NumberOfCpus) || (Buffer == NULL)) { in SmmWriteSaveState() 308 if (!mSmmMpSyncData->CpuData[CpuIndex].Present) { in SmmWriteSaveState() [all …]
|
D | SmmProfile.h | 37 IN UINTN CpuIndex
|
/device/linaro/bootloader/edk2/UefiCpuPkg/CpuMpPei/ |
D | CpuBist.c | 49 UINTN CpuIndex; in SecPlatformInformation2() local 66 for (CpuIndex = 0; CpuIndex < PeiCpuMpData->CpuCount; CpuIndex ++) { in SecPlatformInformation2() 67 CpuInstance[CpuIndex].CpuLocation = PeiCpuMpData->CpuData[CpuIndex].ApicId; in SecPlatformInformation2() 68 CpuInstance[CpuIndex].InfoRecord.IA32HealthFlags = PeiCpuMpData->CpuData[CpuIndex].Health; in SecPlatformInformation2() 172 UINTN CpuIndex; in CollectBistDataFromPpi() local 220 for (CpuIndex = 0; CpuIndex < NumberOfData; CpuIndex ++) { in CollectBistDataFromPpi() 222 if (CpuData->ApicId == CpuInstance[CpuIndex].CpuLocation) { in CollectBistDataFromPpi() 226 CpuData->Health = CpuInstance[CpuIndex].InfoRecord.IA32HealthFlags; in CollectBistDataFromPpi()
|
/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 | 50 IN UINTN CpuIndex, in SmmCpuFeaturesInitializeProcessor() argument 62 CpuState->x86.SMBASE = CpuHotPlugData->SmBase[CpuIndex]; in SmmCpuFeaturesInitializeProcessor() 105 IN UINTN CpuIndex, in SmmCpuFeaturesHookReturnFromSmm() argument 176 IN UINTN CpuIndex, in SmmCpuFeaturesInstallSmiHandler() argument 256 IN UINTN CpuIndex in SmmCpuFeaturesRendezvousEntry() argument 271 IN UINTN CpuIndex in SmmCpuFeaturesRendezvousExit() argument 292 IN UINTN CpuIndex, in SmmCpuFeaturesIsSmmRegisterSupported() argument 314 IN UINTN CpuIndex, in SmmCpuFeaturesGetSmmRegister() argument 335 IN UINTN CpuIndex, in SmmCpuFeaturesSetSmmRegister() argument 363 IN UINTN CpuIndex, in SmmCpuFeaturesReadSaveStateRegister() argument [all …]
|
/device/linaro/bootloader/edk2/UefiCpuPkg/Library/SmmCpuFeaturesLib/ |
D | SmmCpuFeaturesLib.c | 201 IN UINTN CpuIndex, in SmmCpuFeaturesInitializeProcessor() argument 218 CpuState->x86.SMBASE = (UINT32)CpuHotPlugData->SmBase[CpuIndex]; in SmmCpuFeaturesInitializeProcessor() 250 mSmrrEnabled[CpuIndex] = FALSE; in SmmCpuFeaturesInitializeProcessor() 318 IN UINTN CpuIndex, in SmmCpuFeaturesHookReturnFromSmm() argument 389 IN UINTN CpuIndex, in SmmCpuFeaturesInstallSmiHandler() argument 459 IN UINTN CpuIndex in SmmCpuFeaturesRendezvousEntry() argument 465 if (mSmrrSupported && !mSmrrEnabled[CpuIndex]) { in SmmCpuFeaturesRendezvousEntry() 467 mSmrrEnabled[CpuIndex] = TRUE; in SmmCpuFeaturesRendezvousEntry() 481 IN UINTN CpuIndex in SmmCpuFeaturesRendezvousExit() argument 502 IN UINTN CpuIndex, in SmmCpuFeaturesIsSmmRegisterSupported() argument [all …]
|
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/AcpiPlatform/ |
D | AcpiPlatformHooks.c | 118 IN UINT32 CpuIndex, 150 ApicId = ProcessorId2ApicId (CpuIndex+1); 251 UINT32 CpuIndex; in PatchGv3SsdtTable() 269 CpuIndex = 0; in PatchGv3SsdtTable() 281 CpuIndex = *(SsdtPointer + 7); in PatchGv3SsdtTable() 282 if (CpuIndex >= '0' && CpuIndex <= '9') { in PatchGv3SsdtTable() 283 CpuIndex -= '0'; in PatchGv3SsdtTable() 285 if (CpuIndex > '9') { in PatchGv3SsdtTable() 286 CpuIndex -= '7'; in PatchGv3SsdtTable() 291 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 | 142 UINTN CpuIndex, in RestorePageTableAbove4G() argument 281 ASSERT (mPFEntryCount[CpuIndex] < MAX_PF_ENTRY_COUNT); in RestorePageTableAbove4G() 282 if (mPFEntryCount[CpuIndex] < MAX_PF_ENTRY_COUNT) { in RestorePageTableAbove4G() 283 PFIndex = mPFEntryCount[CpuIndex]; in RestorePageTableAbove4G() 284 mLastPFEntryValue[CpuIndex][PFIndex] = PageTable[PTIndex]; in RestorePageTableAbove4G() 285 mLastPFEntryPointer[CpuIndex][PFIndex] = &PageTable[PTIndex]; in RestorePageTableAbove4G() 286 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 236 State = (EFI_SMM_CPU_STATE *)gSmst->CpuSaveState[CpuIndex]; in WriteCpuSaveState() 241 SaveState = &mFrameworkSmst->CpuSaveState[CpuIndex].Ia32SaveState; in WriteCpuSaveState() 257 CpuIndex, in WriteCpuSaveState() 290 UINTN CpuIndex; in ReadWriteCpuStatePage() local 304 …for (CpuIndex = FirstSSIndex; CpuIndex <= LastSSIndex && CpuIndex < mNumberOfProcessors; CpuIndex+… in ReadWriteCpuStatePage() [all …]
|
/device/linaro/bootloader/edk2/UefiCpuPkg/PiSmmCpuDxeSmm/Ia32/ |
D | Semaphore.c | 33 IN UINTN CpuIndex, in SemaphoreHook() argument 43 CpuIndex, in SemaphoreHook()
|
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/MdePkg/Library/DxeExtendedSalLib/ |
D | ExtendedSalLib.c | 601 IN UINT64 CpuIndex in EsalGetMcCheckinFlags() argument 608 CpuIndex, in EsalGetMcCheckinFlags()
|
/device/linaro/bootloader/edk2/MdePkg/Library/DxeRuntimeExtendedSalLib/ |
D | ExtendedSalLib.c | 724 IN UINT64 CpuIndex in EsalGetMcCheckinFlags() argument 731 CpuIndex, in EsalGetMcCheckinFlags()
|
/device/linaro/bootloader/edk2/MdePkg/Include/Library/ |
D | ExtendedSalLib.h | 267 IN UINT64 CpuIndex
|