Home
last modified time | relevance | path

Searched refs:CoreBits (Results 1 – 2 of 2) sorted by relevance

/device/linaro/bootloader/edk2/UefiCpuPkg/PiSmmCpuDxeSmm/
DCpuService.c47 UINTN CoreBits; in SmmGetProcessorLocation() local
62 CoreBits = 0; in SmmGetProcessorLocation()
118 CoreBits = (RegEax & 0x1f) - ThreadBits; in SmmGetProcessorLocation()
140 CoreBits = (UINTN) (HighBitSet32 (MaxCoresPerPackage - 1) + 1); in SmmGetProcessorLocation()
144 Location->Core = (ApicId >> ThreadBits) & ~((-1) << CoreBits); in SmmGetProcessorLocation()
145 Location->Package = (ApicId >> (ThreadBits+ CoreBits)); in SmmGetProcessorLocation()
/device/linaro/bootloader/edk2/UefiCpuPkg/CpuMpPei/
DPeiMpServices.c50 UINTN CoreBits; in ExtractProcessorLocation() local
73 CoreBits = 0; in ExtractProcessorLocation()
116 CoreBits = (RegEax & 0x1f) - ThreadBits; in ExtractProcessorLocation()
138 CoreBits = (UINTN) (HighBitSet32 (MaxCoresPerPackage - 1) + 1); in ExtractProcessorLocation()
142 Location->Core = (InitialApicId >> ThreadBits) & ~((-1) << CoreBits); in ExtractProcessorLocation()
143 Location->Package = (InitialApicId >> (ThreadBits + CoreBits)); in ExtractProcessorLocation()