Home
last modified time | relevance | path

Searched refs:ProcessorNumber (Results 1 – 25 of 29) sorted by relevance

12

/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Compatibility/MpServicesOnFrameworkMpServicesThunk/
DMpServicesOnFrameworkMpServicesThunk.c126 IN UINTN ProcessorNumber, in GetProcessorInfo() argument
153 if (ProcessorNumber >= mNumberOfProcessors) { in GetProcessorInfo()
160 ProcessorNumber, in GetProcessorInfo()
232 UINTN ProcessorNumber; in StartupAllAPs() local
245 WhoAmI (This, &ProcessorNumber); in StartupAllAPs()
246 if (ProcessorNumber != BspNumber) { in StartupAllAPs()
266 for (ProcessorNumber = 0; ProcessorNumber < mNumberOfProcessors; ProcessorNumber++) { in StartupAllAPs()
268 CpuData = &mMPSystemData.CpuData[ProcessorNumber]; in StartupAllAPs()
270 mMPSystemData.CpuList[ProcessorNumber] = FALSE; in StartupAllAPs()
271 if (ProcessorNumber != BspNumber) { in StartupAllAPs()
[all …]
DMpServicesOnFrameworkMpServicesThunk.h76 UINT32 ProcessorNumber[MAX_CPU_NUMBER]; member
186 IN UINTN ProcessorNumber,
262 IN UINTN ProcessorNumber,
290 IN UINTN ProcessorNumber,
315 IN UINTN ProcessorNumber,
337 OUT UINTN *ProcessorNumber
389 UINTN ProcessorNumber
473 IN UINTN ProcessorNumber,
489 UINTN ProcessorNumber
505 IN UINTN ProcessorNumber,
/device/linaro/bootloader/edk2/UefiCpuPkg/PiSmmCpuDxeSmm/
DCpuService.c48 IN UINTN ProcessorNumber, in SmmGetProcessorInfo() argument
55 if (ProcessorNumber >= mMaxNumberOfCpus || ProcessorInfoBuffer == NULL) { in SmmGetProcessorInfo()
59 if (gSmmCpuPrivate->ProcessorInfo[ProcessorNumber].ProcessorId == INVALID_APIC_ID) { in SmmGetProcessorInfo()
66 …CopyMem (ProcessorInfoBuffer, &gSmmCpuPrivate->ProcessorInfo[ProcessorNumber], sizeof (EFI_PROCESS… in SmmGetProcessorInfo()
85 IN UINTN ProcessorNumber in SmmSwitchBsp() argument
91 if (ProcessorNumber >= mMaxNumberOfCpus) { in SmmSwitchBsp()
95 if (gSmmCpuPrivate->ProcessorInfo[ProcessorNumber].ProcessorId == INVALID_APIC_ID) { in SmmSwitchBsp()
99 if (gSmmCpuPrivate->Operation[ProcessorNumber] != SmmCpuNone || in SmmSwitchBsp()
100 gSmst->CurrentlyExecutingCpu == ProcessorNumber) { in SmmSwitchBsp()
107 gSmmCpuPrivate->Operation[ProcessorNumber] = SmmCpuSwitchBsp; in SmmSwitchBsp()
[all …]
DCpuService.h48 IN UINTN ProcessorNumber,
67 IN UINTN ProcessorNumber
88 OUT UINTN *ProcessorNumber
107 IN UINTN ProcessorNumber
125 OUT UINTN *ProcessorNumber
/device/linaro/bootloader/edk2/UefiCpuPkg/Library/MpInitLib/
DMpLib.c396 OUT UINTN *ProcessorNumber in GetProcessorNumber() argument
408 *ProcessorNumber = Index; in GetProcessorNumber()
482 IN UINTN ProcessorNumber, in InitializeApData() argument
490 CpuInfoInHob[ProcessorNumber].InitialApicId = GetInitialApicId (); in InitializeApData()
491 CpuInfoInHob[ProcessorNumber].ApicId = GetApicId (); in InitializeApData()
492 CpuInfoInHob[ProcessorNumber].Health = BistData; in InitializeApData()
493 CpuInfoInHob[ProcessorNumber].ApTopOfStack = ApTopOfStack; in InitializeApData()
495 CpuMpData->CpuData[ProcessorNumber].Waiting = FALSE; in InitializeApData()
496 CpuMpData->CpuData[ProcessorNumber].CpuHealthy = (BistData == 0) ? TRUE : FALSE; in InitializeApData()
497 if (CpuInfoInHob[ProcessorNumber].InitialApicId >= 0xFF) { in InitializeApData()
[all …]
DDxeMpLib.c155 UINTN ProcessorNumber; in CheckAndUpdateApsStatus() local
179 for (ProcessorNumber = 0; ProcessorNumber < CpuMpData->CpuCount; ProcessorNumber++) { in CheckAndUpdateApsStatus()
181 if (CpuMpData->CpuData[ProcessorNumber].WaitEvent == NULL) { in CheckAndUpdateApsStatus()
185 Status = CheckThisAP (ProcessorNumber); in CheckAndUpdateApsStatus()
188 gBS->SignalEvent (CpuMpData->CpuData[ProcessorNumber].WaitEvent); in CheckAndUpdateApsStatus()
189 CpuMpData->CpuData[ProcessorNumber].WaitEvent = NULL; in CheckAndUpdateApsStatus()
265 UINTN ProcessorNumber; in RelocateApLoop() local
267 MpInitLibWhoAmI (&ProcessorNumber); in RelocateApLoop()
275 mReservedTopOfApStack - ProcessorNumber * AP_SAFE_STACK_SIZE, in RelocateApLoop()
589 IN UINTN ProcessorNumber, in MpInitLibStartupThisAP() argument
[all …]
DPeiMpLib.c526 IN UINTN ProcessorNumber, in MpInitLibStartupThisAP() argument
539 ProcessorNumber, in MpInitLibStartupThisAP()
576 IN UINTN ProcessorNumber, in MpInitLibSwitchBSP() argument
580 return SwitchBSPWorker (ProcessorNumber, EnableOldBSP); in MpInitLibSwitchBSP()
616 IN UINTN ProcessorNumber, in MpInitLibEnableDisableAP() argument
621 return EnableDisableApWorker (ProcessorNumber, EnableAP, HealthFlag); in MpInitLibEnableDisableAP()
DMpLib.h346 IN UINTN ProcessorNumber,
428 IN UINTN ProcessorNumber,
448 IN UINTN ProcessorNumber,
468 IN UINTN ProcessorNumber,
496 IN UINTN ProcessorNumber
/device/linaro/bootloader/edk2/EmulatorPkg/CpuRuntimeDxe/
DMpService.c60 UINTN ProcessorNumber; in IsBSP() local
62 Status = CpuMpServicesWhoAmI (&mMpServicesTemplate, &ProcessorNumber); in IsBSP()
67 return (gMPSystem.ProcessorData[ProcessorNumber].Info.StatusFlag & PROCESSOR_AS_BSP_BIT) != 0; in IsBSP()
229 IN UINTN ProcessorNumber, in CpuMpServicesGetProcessorInfo() argument
241 if (ProcessorNumber >= gMPSystem.NumberOfProcessors) { in CpuMpServicesGetProcessorInfo()
245 …CopyMem (ProcessorInfoBuffer, &gMPSystem.ProcessorData[ProcessorNumber], sizeof (EFI_PROCESSOR_INF… in CpuMpServicesGetProcessorInfo()
691 IN UINTN ProcessorNumber, in CpuMpServicesStartupThisAP() argument
708 if (ProcessorNumber >= gMPSystem.NumberOfProcessors) { in CpuMpServicesStartupThisAP()
712 if ((gMPSystem.ProcessorData[ProcessorNumber].Info.StatusFlag & PROCESSOR_AS_BSP_BIT) != 0) { in CpuMpServicesStartupThisAP()
716 if ((gMPSystem.ProcessorData[ProcessorNumber].Info.StatusFlag & PROCESSOR_ENABLED_BIT) == 0) { in CpuMpServicesStartupThisAP()
[all …]
DCpuDriver.h236 OUT UINTN *ProcessorNumber
/device/linaro/bootloader/edk2/UefiCpuPkg/CpuDxe/
DCpuMp.c115 IN UINTN ProcessorNumber, in GetProcessorInfo() argument
119 return MpInitLibGetProcessorInfo (ProcessorNumber, ProcessorInfoBuffer, NULL); in GetProcessorInfo()
371 IN UINTN ProcessorNumber, in StartupThisAP() argument
380 ProcessorNumber, in StartupThisAP()
427 IN UINTN ProcessorNumber, in SwitchBSP() argument
431 return MpInitLibSwitchBSP (ProcessorNumber, EnableOldBSP); in SwitchBSP()
479 IN UINTN ProcessorNumber, in EnableDisableAP() argument
484 return MpInitLibEnableDisableAP (ProcessorNumber, EnableAP, HealthFlag); in EnableDisableAP()
515 OUT UINTN *ProcessorNumber in WhoAmI() argument
518 return MpInitLibWhoAmI (ProcessorNumber);; in WhoAmI()
[all …]
DCpuMp.h101 IN UINTN ProcessorNumber,
344 IN UINTN ProcessorNumber,
390 IN UINTN ProcessorNumber,
439 IN UINTN ProcessorNumber,
472 OUT UINTN *ProcessorNumber
/device/linaro/bootloader/edk2/UefiCpuPkg/CpuMpPei/
DCpuMpPei.c120 IN UINTN ProcessorNumber, in PeiGetProcessorInfo() argument
124 return MpInitLibGetProcessorInfo (ProcessorNumber, ProcessorInfoBuffer, NULL); in PeiGetProcessorInfo()
263 IN UINTN ProcessorNumber, in PeiStartupThisAP() argument
270 ProcessorNumber, in PeiStartupThisAP()
317 IN UINTN ProcessorNumber, in PeiSwitchBSP() argument
321 return MpInitLibSwitchBSP (ProcessorNumber, EnableOldBSP); in PeiSwitchBSP()
368 IN UINTN ProcessorNumber, in PeiEnableDisableAP() argument
373 return MpInitLibEnableDisableAP (ProcessorNumber, EnableAP, HealthFlag); in PeiEnableDisableAP()
405 OUT UINTN *ProcessorNumber in PeiWhoAmI() argument
408 return MpInitLibWhoAmI (ProcessorNumber); in PeiWhoAmI()
DCpuMpPei.h112 IN UINTN ProcessorNumber,
242 IN UINTN ProcessorNumber,
286 IN UINTN ProcessorNumber,
334 IN UINTN ProcessorNumber,
368 OUT UINTN *ProcessorNumber
DCpuBist.c173 UINTN ProcessorNumber; in CollectBistDataFromPpi() local
239 for (ProcessorNumber = 0; ProcessorNumber < NumberOfProcessors; ProcessorNumber ++) { in CollectBistDataFromPpi()
240 MpInitLibGetProcessorInfo (ProcessorNumber, &ProcessorInfo, &BistData); in CollectBistDataFromPpi()
264 CpuInstanceInHob[ProcessorNumber].CpuLocation = (UINT32) ProcessorInfo.ProcessorId; in CollectBistDataFromPpi()
265 CpuInstanceInHob[ProcessorNumber].InfoRecord.IA32HealthFlags = BistData; in CollectBistDataFromPpi()
/device/linaro/bootloader/edk2/UefiCpuPkg/Include/Protocol/
DSmmCpuService.h55 IN UINTN ProcessorNumber,
93 IN UINTN ProcessorNumber
118 OUT UINTN *ProcessorNumber
139 IN UINTN ProcessorNumber
167 OUT UINTN *ProcessorNumber
/device/linaro/bootloader/edk2/UefiCpuPkg/Include/Library/
DMpInitLib.h87 IN UINTN ProcessorNumber,
253 IN UINTN ProcessorNumber,
289 IN UINTN ProcessorNumber,
326 IN UINTN ProcessorNumber,
350 OUT UINTN *ProcessorNumber
/device/linaro/bootloader/edk2/MdePkg/Include/Ppi/
DMpServices.h79 IN UINTN ProcessorNumber,
168 IN UINTN ProcessorNumber,
202 IN UINTN ProcessorNumber,
239 IN UINTN ProcessorNumber,
264 OUT UINTN *ProcessorNumber
/device/linaro/bootloader/edk2/MdePkg/Include/Protocol/
DMpService.h217 IN UINTN ProcessorNumber,
460 IN UINTN ProcessorNumber,
506 IN UINTN ProcessorNumber,
555 IN UINTN ProcessorNumber,
588 OUT UINTN *ProcessorNumber
/device/linaro/bootloader/edk2/IntelFrameworkPkg/Include/Protocol/
DFrameworkMpService.h319 IN UINTN ProcessorNumber,
512 IN UINTN ProcessorNumber,
547 IN UINTN ProcessorNumber,
582 IN UINTN ProcessorNumber,
617 IN UINTN ProcessorNumber,
643 OUT UINTN *ProcessorNumber
/device/linaro/bootloader/OpenPlatformPkg/Chips/Hisilicon/Drivers/Smbios/ProcessorSubClassDxe/
DProcessorSubClass.c217 IN UINT8 ProcessorNumber in GetCpuFrequency() argument
220 return (UINT16)(PlatformGetCpuFreq(ProcessorNumber)/1000/1000); in GetCpuFrequency()
343 IN UINTN ProcessorNumber, in AddSmbiosCacheTypeTable() argument
450 IN UINTN ProcessorNumber in AddSmbiosProcessorTypeTable() argument
500 if(OemIsSocketPresent(ProcessorNumber)) //CPU is present in AddSmbiosProcessorTypeTable()
504 …Status = AddSmbiosCacheTypeTable (ProcessorNumber, &L1CacheHandle, &L2CacheHandle, &L3CacheHandle); in AddSmbiosProcessorTypeTable()
510 CurrentSpeed = GetCpuFrequency(ProcessorNumber); in AddSmbiosProcessorTypeTable()
573 …cketStrLen = UnicodeSPrint (ProcessorSocketStr, StringBufferSize, L"CPU%02d", ProcessorNumber + 1); in AddSmbiosProcessorTypeTable()
603 … (VOID)CopyMem(Type4Record, &mSmbiosProcessorTable[ProcessorNumber], sizeof (SMBIOS_TABLE_TYPE4)); in AddSmbiosProcessorTypeTable()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Compatibility/MpServicesOnFrameworkMpServicesThunk/IA32/
DAsmInclude.inc25 ProcessorNumber equ LockLocation + 20h
DMpFuncs.S25 #define ProcessorNumber RendezvousFunnelProcEnd - RendezvousFunnelProcStart + 0x20 macro
120 addl $ProcessorNumber, %edi
/device/linaro/bootloader/edk2/UefiCpuPkg/Include/Register/Msr/
DP6Msr.h628 UINT32 ProcessorNumber:1; member
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Dxe/Include/Ipf/
DEsalRuntimeLib.h844 IN UINT64 ProcessorNumber,

12