/device/linaro/bootloader/edk2/UefiCpuPkg/PiSmmCpuDxeSmm/ |
H A D | CpuService.c | 33 @param[in] ProcessorNumber The handle number of processor.
39 @retval EFI_INVALID_PARAMETER ProcessorNumber is invalid.
41 ProcessorNumber does not exist in the platform.
48 IN UINTN ProcessorNumber,
55 if (ProcessorNumber >= mMaxNumberOfCpus || ProcessorInfoBuffer == NULL) {
59 if (gSmmCpuPrivate->ProcessorInfo[ProcessorNumber].ProcessorId == INVALID_APIC_ID) {
66 CopyMem (ProcessorInfoBuffer, &gSmmCpuPrivate->ProcessorInfo[ProcessorNumber], sizeof (EFI_PROCESSOR_INFORMATION));
74 @param[in] ProcessorNumber The handle number of AP that is to become the new BSP.
78 @retval EFI_NOT_FOUND The processor with the handle specified by ProcessorNumber does not exist.
79 @retval EFI_INVALID_PARAMETER ProcessorNumber i 46 SmmGetProcessorInfo( IN CONST EFI_SMM_CPU_SERVICE_PROTOCOL *This, IN UINTN ProcessorNumber, OUT EFI_PROCESSOR_INFORMATION *ProcessorInfoBuffer ) argument [all...] |
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Compatibility/MpServicesOnFrameworkMpServicesThunk/IA32/ |
H A D | MpFuncs.S | 25 #define ProcessorNumber RendezvousFunnelProcEnd - RendezvousFunnelProcStart + 0x20
define 120 addl $ProcessorNumber, %edi
|
/device/linaro/bootloader/edk2/UefiCpuPkg/CpuMpPei/ |
H A D | CpuMpPei.c | 105 @param[in] ProcessorNumber Pointer to the total number of logical processors in
113 ProcessorNumber does not exist in the platform.
120 IN UINTN ProcessorNumber,
124 return MpInitLibGetProcessorInfo (ProcessorNumber, ProcessorInfoBuffer, NULL);
231 @param[in] ProcessorNumber The handle number of the AP. The range is from 0 to the
253 ProcessorNumber does not exist.
254 @retval EFI_INVALID_PARAMETER ProcessorNumber specifies the BSP or disabled AP.
263 IN UINTN ProcessorNumber,
270 ProcessorNumber,
294 @param[in] ProcessorNumber Th 117 PeiGetProcessorInfo( IN CONST EFI_PEI_SERVICES **PeiServices, IN EFI_PEI_MP_SERVICES_PPI *This, IN UINTN ProcessorNumber, OUT EFI_PROCESSOR_INFORMATION *ProcessorInfoBuffer ) argument 259 PeiStartupThisAP( IN CONST EFI_PEI_SERVICES **PeiServices, IN EFI_PEI_MP_SERVICES_PPI *This, IN EFI_AP_PROCEDURE Procedure, IN UINTN ProcessorNumber, IN UINTN TimeoutInMicroseconds, IN VOID *ProcedureArgument OPTIONAL ) argument 314 PeiSwitchBSP( IN CONST EFI_PEI_SERVICES **PeiServices, IN EFI_PEI_MP_SERVICES_PPI *This, IN UINTN ProcessorNumber, IN BOOLEAN EnableOldBSP ) argument 365 PeiEnableDisableAP( IN CONST EFI_PEI_SERVICES **PeiServices, IN EFI_PEI_MP_SERVICES_PPI *This, IN UINTN ProcessorNumber, IN BOOLEAN EnableAP, IN UINT32 *HealthFlag OPTIONAL ) argument [all...] |
H A D | CpuBist.c | 173 UINTN ProcessorNumber;
local 239 for (ProcessorNumber = 0; ProcessorNumber < NumberOfProcessors; ProcessorNumber ++) {
240 MpInitLibGetProcessorInfo (ProcessorNumber, &ProcessorInfo, &BistData);
264 CpuInstanceInHob[ProcessorNumber].CpuLocation = (UINT32) ProcessorInfo.ProcessorId;
265 CpuInstanceInHob[ProcessorNumber].InfoRecord.IA32HealthFlags = BistData;
|
/device/linaro/bootloader/edk2/UefiCpuPkg/CpuDxe/ |
H A D | CpuMp.c | 100 @param[in] ProcessorNumber The handle number of processor.
108 ProcessorNumber does not exist in the platform.
115 IN UINTN ProcessorNumber,
119 return MpInitLibGetProcessorInfo (ProcessorNumber, ProcessorInfoBuffer, NULL);
305 @param[in] ProcessorNumber The handle number of the AP. The range is
361 ProcessorNumber does not exist.
362 @retval EFI_INVALID_PARAMETER ProcessorNumber specifies the BSP or disabled AP.
371 IN UINTN ProcessorNumber,
380 ProcessorNumber,
403 @param[in] ProcessorNumber Th 113 GetProcessorInfo( IN EFI_MP_SERVICES_PROTOCOL *This, IN UINTN ProcessorNumber, OUT EFI_PROCESSOR_INFORMATION *ProcessorInfoBuffer ) argument 368 StartupThisAP( IN EFI_MP_SERVICES_PROTOCOL *This, IN EFI_AP_PROCEDURE Procedure, IN UINTN ProcessorNumber, IN EFI_EVENT WaitEvent OPTIONAL, IN UINTN TimeoutInMicroseconds, IN VOID *ProcedureArgument OPTIONAL, OUT BOOLEAN *Finished OPTIONAL ) argument 425 SwitchBSP( IN EFI_MP_SERVICES_PROTOCOL *This, IN UINTN ProcessorNumber, IN BOOLEAN EnableOldBSP ) argument 477 EnableDisableAP( IN EFI_MP_SERVICES_PROTOCOL *This, IN UINTN ProcessorNumber, IN BOOLEAN EnableAP, IN UINT32 *HealthFlag OPTIONAL ) argument 539 UINTN ProcessorNumber; local [all...] |
/device/linaro/bootloader/edk2/UefiCpuPkg/Library/MpInitLib/ |
H A D | PeiMpLib.c | 458 @param[in] ProcessorNumber The handle number of the AP. The range is
517 ProcessorNumber does not exist.
518 @retval EFI_INVALID_PARAMETER ProcessorNumber specifies the BSP or disabled AP.
526 IN UINTN ProcessorNumber,
539 ProcessorNumber,
552 @param[in] ProcessorNumber The handle number of AP that is to become the new
566 ProcessorNumber does not exist.
567 @retval EFI_INVALID_PARAMETER ProcessorNumber specifies the current BSP or
576 IN UINTN ProcessorNumber,
580 return SwitchBSPWorker (ProcessorNumber, EnableOldBS 524 MpInitLibStartupThisAP( IN EFI_AP_PROCEDURE Procedure, IN UINTN ProcessorNumber, IN EFI_EVENT WaitEvent OPTIONAL, IN UINTN TimeoutInMicroseconds, IN VOID *ProcedureArgument OPTIONAL, OUT BOOLEAN *Finished OPTIONAL ) argument 575 MpInitLibSwitchBSP( IN UINTN ProcessorNumber, IN BOOLEAN EnableOldBSP ) argument 615 MpInitLibEnableDisableAP( IN UINTN ProcessorNumber, IN BOOLEAN EnableAP, IN UINT32 *HealthFlag OPTIONAL ) argument [all...] |
H A D | DxeMpLib.c | 155 UINTN ProcessorNumber;
local 179 for (ProcessorNumber = 0; ProcessorNumber < CpuMpData->CpuCount; ProcessorNumber++) {
181 if (CpuMpData->CpuData[ProcessorNumber].WaitEvent == NULL) {
185 Status = CheckThisAP (ProcessorNumber);
188 gBS->SignalEvent (CpuMpData->CpuData[ProcessorNumber].WaitEvent);
189 CpuMpData->CpuData[ProcessorNumber].WaitEvent = NULL;
265 UINTN ProcessorNumber;
local 267 MpInitLibWhoAmI (&ProcessorNumber);
587 MpInitLibStartupThisAP( IN EFI_AP_PROCEDURE Procedure, IN UINTN ProcessorNumber, IN EFI_EVENT WaitEvent OPTIONAL, IN UINTN TimeoutInMicroseconds, IN VOID *ProcedureArgument OPTIONAL, OUT BOOLEAN *Finished OPTIONAL ) argument 645 MpInitLibSwitchBSP( IN UINTN ProcessorNumber, IN BOOLEAN EnableOldBSP ) argument 718 MpInitLibEnableDisableAP( IN UINTN ProcessorNumber, IN BOOLEAN EnableAP, IN UINT32 *HealthFlag OPTIONAL ) argument [all...] |
H A D | MpLib.c | 388 @param[out] ProcessorNumber Return the pocessor number found
390 @retval EFI_SUCCESS ProcessorNumber is found and returned.
391 @retval EFI_NOT_FOUND ProcessorNumber is not found.
396 OUT UINTN *ProcessorNumber
408 *ProcessorNumber = Index;
474 @param[in] ProcessorNumber The handle number of processor
482 IN UINTN ProcessorNumber,
490 CpuInfoInHob[ProcessorNumber].InitialApicId = GetInitialApicId ();
491 CpuInfoInHob[ProcessorNumber].ApicId = GetApicId ();
492 CpuInfoInHob[ProcessorNumber] 480 InitializeApData( IN OUT CPU_MP_DATA *CpuMpData, IN UINTN ProcessorNumber, IN UINT32 BistData, IN UINT64 ApTopOfStack ) argument 525 UINTN ProcessorNumber; local 769 WakeUpAP( IN CPU_MP_DATA *CpuMpData, IN BOOLEAN Broadcast, IN UINTN ProcessorNumber, IN EFI_AP_PROCEDURE Procedure, OPTIONAL IN VOID *ProcedureArgument OPTIONAL ) argument 1069 UINTN ProcessorNumber; local 1154 UINTN ProcessorNumber; local 1433 MpInitLibGetProcessorInfo( IN UINTN ProcessorNumber, OUT EFI_PROCESSOR_INFORMATION *ProcessorInfoBuffer, OUT EFI_HEALTH_FLAGS *HealthData OPTIONAL ) argument 1505 SwitchBSPWorker( IN UINTN ProcessorNumber, IN BOOLEAN EnableOldBSP ) argument 1646 EnableDisableApWorker( IN UINTN ProcessorNumber, IN BOOLEAN EnableAP, IN UINT32 *HealthFlag OPTIONAL ) argument 1749 UINTN ProcessorNumber; local 1830 UINTN ProcessorNumber; local 1968 StartupThisAPWorker( IN EFI_AP_PROCEDURE Procedure, IN UINTN ProcessorNumber, IN EFI_EVENT WaitEvent OPTIONAL, IN UINTN TimeoutInMicroseconds, IN VOID *ProcedureArgument OPTIONAL, OUT BOOLEAN *Finished OPTIONAL ) argument [all...] |
/device/linaro/bootloader/OpenPlatformPkg/Chips/Hisilicon/Drivers/Smbios/ProcessorSubClassDxe/ |
H A D | ProcessorSubClass.c | 217 IN UINT8 ProcessorNumber
220 return (UINT16)(PlatformGetCpuFreq(ProcessorNumber)/1000/1000);
335 @param[in] ProcessorNumber Processor number of specified processor.
343 IN UINTN ProcessorNumber,
445 @param[in] ProcessorNumber Processor number of specified processor.
450 IN UINTN ProcessorNumber
500 if(OemIsSocketPresent(ProcessorNumber)) //CPU is present
504 Status = AddSmbiosCacheTypeTable (ProcessorNumber, &L1CacheHandle, &L2CacheHandle, &L3CacheHandle);
510 CurrentSpeed = GetCpuFrequency(ProcessorNumber);
573 ProcessorSocketStrLen = UnicodeSPrint (ProcessorSocketStr, StringBufferSize, L"CPU%02d", ProcessorNumber 342 AddSmbiosCacheTypeTable( IN UINTN ProcessorNumber, OUT EFI_SMBIOS_HANDLE *L1CacheHandle, OUT EFI_SMBIOS_HANDLE *L2CacheHandle, OUT EFI_SMBIOS_HANDLE *L3CacheHandle ) argument [all...] |
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Compatibility/MpServicesOnFrameworkMpServicesThunk/ |
H A D | MpServicesOnFrameworkMpServicesThunk.h | 76 UINT32 ProcessorNumber[MAX_CPU_NUMBER];
member in struct:__anon4158 173 @param ProcessorNumber The handle number of processor.
179 @retval EFI_NOT_FOUND Processor with the handle specified by ProcessorNumber does not exist.
186 IN UINTN ProcessorNumber,
237 @param ProcessorNumber The handle number of AP..
252 @retval EFI_NOT_FOUND Processor with the handle specified by ProcessorNumber does not exist.
253 @retval EFI_INVALID_PARAMETER ProcessorNumber specifies the BSP or disabled AP.
262 IN UINTN ProcessorNumber,
276 @param ProcessorNumber The handle number of processor.
281 @retval EFI_NOT_FOUND Processor with the handle specified by ProcessorNumber doe [all...] |
H A D | MpServicesOnFrameworkMpServicesThunk.c | 113 @param ProcessorNumber The handle number of processor.
119 @retval EFI_NOT_FOUND Processor with the handle specified by ProcessorNumber does not exist.
126 IN UINTN ProcessorNumber,
151 // Check whether processor with the handle specified by ProcessorNumber exists
153 if (ProcessorNumber >= mNumberOfProcessors) {
160 ProcessorNumber,
232 UINTN ProcessorNumber;
local 245 WhoAmI (This, &ProcessorNumber);
246 if (ProcessorNumber != BspNumber) {
266 for (ProcessorNumber 124 GetProcessorInfo( IN EFI_MP_SERVICES_PROTOCOL *This, IN UINTN ProcessorNumber, OUT EFI_PROCESSOR_INFORMATION *ProcessorInfoBuffer ) argument 391 StartupThisAP( IN EFI_MP_SERVICES_PROTOCOL *This, IN EFI_AP_PROCEDURE Procedure, IN UINTN ProcessorNumber, IN EFI_EVENT WaitEvent OPTIONAL, IN UINTN TimeoutInMicroseconds, IN VOID *ProcedureArgument OPTIONAL, OUT BOOLEAN *Finished OPTIONAL ) argument 524 SwitchBSP( IN EFI_MP_SERVICES_PROTOCOL *This, IN UINTN ProcessorNumber, IN BOOLEAN EnableOldBSP ) argument 650 EnableDisableAP( IN EFI_MP_SERVICES_PROTOCOL *This, IN UINTN ProcessorNumber, IN BOOLEAN EnableAP, IN UINT32 *HealthFlag OPTIONAL ) argument 765 UINTN ProcessorNumber; local 828 UINTN ProcessorNumber; local 1109 UINTN ProcessorNumber; local 1137 UINTN ProcessorNumber; local 1197 WakeUpAp( IN UINTN ProcessorNumber, IN EFI_AP_PROCEDURE Procedure, IN VOID *ProcArguments ) argument 1283 ChangeCpuState( IN UINTN ProcessorNumber, IN BOOLEAN NewState ) argument 1537 UINTN ProcessorNumber; local [all...] |
/device/linaro/bootloader/edk2/EmulatorPkg/CpuRuntimeDxe/ |
H A D | MpService.c | 60 UINTN ProcessorNumber;
local 62 Status = CpuMpServicesWhoAmI (&mMpServicesTemplate, &ProcessorNumber);
67 return (gMPSystem.ProcessorData[ProcessorNumber].Info.StatusFlag & PROCESSOR_AS_BSP_BIT) != 0;
214 @param[in] ProcessorNumber The handle number of processor.
222 ProcessorNumber does not exist in the platform.
229 IN UINTN ProcessorNumber,
241 if (ProcessorNumber >= gMPSystem.NumberOfProcessors) {
245 CopyMem (ProcessorInfoBuffer, &gMPSystem.ProcessorData[ProcessorNumber], sizeof (EFI_PROCESSOR_INFORMATION));
625 @param[in] ProcessorNumber The handle number of the AP. The range is
681 ProcessorNumber doe 227 CpuMpServicesGetProcessorInfo( IN EFI_MP_SERVICES_PROTOCOL *This, IN UINTN ProcessorNumber, OUT EFI_PROCESSOR_INFORMATION *ProcessorInfoBuffer ) argument 688 CpuMpServicesStartupThisAP( IN EFI_MP_SERVICES_PROTOCOL *This, IN EFI_AP_PROCEDURE Procedure, IN UINTN ProcessorNumber, IN EFI_EVENT WaitEvent OPTIONAL, IN UINTN TimeoutInMicroseconds, IN VOID *ProcedureArgument OPTIONAL, OUT BOOLEAN *Finished OPTIONAL ) argument 809 CpuMpServicesSwitchBSP( IN EFI_MP_SERVICES_PROTOCOL *This, IN UINTN ProcessorNumber, IN BOOLEAN EnableOldBSP ) argument 896 CpuMpServicesEnableDisableAP( IN EFI_MP_SERVICES_PROTOCOL *This, IN UINTN ProcessorNumber, IN BOOLEAN EnableAP, IN UINT32 *HealthFlag OPTIONAL ) argument 1019 UINTN ProcessorNumber; local 1235 UINTN ProcessorNumber; local [all...] |
/device/linaro/bootloader/edk2/UefiCpuPkg/Include/Register/Msr/ |
H A D | P6Msr.h | 628 UINT32 ProcessorNumber:1;
member in struct:__anon11309::__anon11310
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Framework/Guid/DataHubRecords/ |
H A D | DataHubSubClassMemory.h | 46 UINT32 ProcessorNumber;
member in struct:__anon4461
|
/device/linaro/bootloader/edk2/IntelFrameworkPkg/Include/Guid/ |
H A D | DataHubRecords.h | 1017 UINT32 ProcessorNumber;
member in struct:__anon5801
|