Home
last modified time | relevance | path

Searched refs:mMaxNumberOfCpus (Results 1 – 6 of 6) sorted by relevance

/device/linaro/bootloader/edk2/UefiCpuPkg/PiSmmCpuDxeSmm/
DCpuService.c55 if (ProcessorNumber >= mMaxNumberOfCpus || ProcessorInfoBuffer == NULL) { in SmmGetProcessorInfo()
91 if (ProcessorNumber >= mMaxNumberOfCpus) { in SmmSwitchBsp()
149 for (Index = 0; Index < mMaxNumberOfCpus; Index++) { in SmmAddProcessor()
159 for (Index = 0; Index < mMaxNumberOfCpus; Index++) { in SmmAddProcessor()
206 if (ProcessorNumber >= mMaxNumberOfCpus || in SmmRemoveProcessor()
262 for (Index = 0; Index < mMaxNumberOfCpus; Index++) { in SmmWhoAmI()
290 for (Index = 0; Index < mMaxNumberOfCpus; Index++) { in SmmCpuUpdate()
301 for (Index = 0; Index < mMaxNumberOfCpus; Index++) { in SmmCpuUpdate()
311 for (Index = 0; Index < mMaxNumberOfCpus; Index++) { in SmmCpuUpdate()
DPiSmmCpuDxeSmm.c86 UINTN mMaxNumberOfCpus = 1; variable
347 ASSERT (mNumberOfCpus <= mMaxNumberOfCpus); in SmmInitHandler()
611 mMaxNumberOfCpus = PcdGet32 (PcdCpuMaxLogicalProcessorNumber); in PiCpuSmmEntry()
613 mMaxNumberOfCpus = mNumberOfCpus; in PiCpuSmmEntry()
615 gSmmCpuPrivate->SmmCoreEntryContext.NumberOfCpus = mMaxNumberOfCpus; in PiCpuSmmEntry()
751 BufferPages = EFI_SIZE_TO_PAGES (SIZE_32KB + TileSize * (mMaxNumberOfCpus - 1)); in PiCpuSmmEntry()
763 … (EFI_PROCESSOR_INFORMATION *)AllocatePool (sizeof (EFI_PROCESSOR_INFORMATION) * mMaxNumberOfCpus); in PiCpuSmmEntry()
766 …ate->Operation = (SMM_CPU_OPERATION *)AllocatePool (sizeof (SMM_CPU_OPERATION) * mMaxNumberOfCpus); in PiCpuSmmEntry()
769 gSmmCpuPrivate->CpuSaveStateSize = (UINTN *)AllocatePool (sizeof (UINTN) * mMaxNumberOfCpus); in PiCpuSmmEntry()
772 gSmmCpuPrivate->CpuSaveState = (VOID **)AllocatePool (sizeof (VOID *) * mMaxNumberOfCpus); in PiCpuSmmEntry()
[all …]
DMpService.c145 for (Index = mMaxNumberOfCpus; Index-- > 0;) { in ReleaseAllAPs()
178 for (Index = mMaxNumberOfCpus; Index-- > 0;) { in AllCpusInSmmWithExceptions()
254 for (Index = mMaxNumberOfCpus; Index-- > 0;) { in SmmWaitForApArrival()
423 for (Index = mMaxNumberOfCpus; Index-- > 0;) { in BSPHandler()
452 for (Index = mMaxNumberOfCpus; Index-- > 0;) { in BSPHandler()
1030 ASSERT(CpuIndex < mMaxNumberOfCpus); in CpuSmmDebugEntry()
1060 ASSERT(CpuIndex < mMaxNumberOfCpus); in CpuSmmDebugExit()
1091 ASSERT(CpuIndex < mMaxNumberOfCpus); in SmiRendezvous()
1205 for (Index = 0; Index < mMaxNumberOfCpus; Index++) { in SmiRendezvous()
1410 for (Index = 0; Index < mMaxNumberOfCpus; Index++) { in InitializeMpServiceData()
DSmmProfile.c142 for (Index = 0; Index < mMaxNumberOfCpus; Index++) { in GetCpuIndex()
828 mPFEntryCount = (UINTN *)AllocateZeroPool (sizeof (UINTN) * mMaxNumberOfCpus); in InitSmmProfileInternal()
831 … sizeof (mLastPFEntryValue[0]) * mMaxNumberOfCpus); in InitSmmProfileInternal()
834 … sizeof (mLastPFEntryPointer[0]) * mMaxNumberOfCpus); in InitSmmProfileInternal()
875 …sArea = (MSR_DS_AREA_STRUCT **)AllocateZeroPool (sizeof (MSR_DS_AREA_STRUCT *) * mMaxNumberOfCpus); in InitSmmProfileInternal()
877 …ord = (BRANCH_TRACE_RECORD **)AllocateZeroPool (sizeof (BRANCH_TRACE_RECORD *) * mMaxNumberOfCpus); in InitSmmProfileInternal()
879 mMsrPEBSRecord = (PEBS_RECORD **)AllocateZeroPool (sizeof (PEBS_RECORD *) * mMaxNumberOfCpus); in InitSmmProfileInternal()
883 MsrDsAreaSizePerCpu = mMsrDsAreaSize / mMaxNumberOfCpus; in InitSmmProfileInternal()
885 for (Index = 0; Index < mMaxNumberOfCpus; Index++) { in InitSmmProfileInternal()
DSmmCpuMemoryManagement.c700 for (Index = 0; Index < mMaxNumberOfCpus - 1; Index++) { in PatchSmmSaveStateMap()
734 mCpuHotPlugData.SmBase[mMaxNumberOfCpus - 1] + SMM_HANDLER_OFFSET, in PatchSmmSaveStateMap()
739 mCpuHotPlugData.SmBase[mMaxNumberOfCpus - 1] + SMM_HANDLER_OFFSET, in PatchSmmSaveStateMap()
748 mCpuHotPlugData.SmBase[mMaxNumberOfCpus - 1] + SMM_HANDLER_OFFSET + TileCodeSize, in PatchSmmSaveStateMap()
753 mCpuHotPlugData.SmBase[mMaxNumberOfCpus - 1] + SMM_HANDLER_OFFSET + TileCodeSize, in PatchSmmSaveStateMap()
DPiSmmCpuDxeSmm.h178 extern UINTN mMaxNumberOfCpus;