Home
last modified time | relevance | path

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

/device/linaro/bootloader/edk2/UefiCpuPkg/Library/BaseXApicLib/
DBaseXApicLib.c971 UINTN CoreBits; in GetProcessorLocationByApicId() local
1002 CoreBits = 0; in GetProcessorLocationByApicId()
1059 CoreBits = ExtendedTopologyEax.Bits.ApicIdShift - ThreadBits; in GetProcessorLocationByApicId()
1082 CoreBits = (UINTN)(HighBitSet32(MaxCoresPerPackage - 1) + 1); } in GetProcessorLocationByApicId()
1088 *Core = (InitialApicId >> ThreadBits) & ((1 << CoreBits) - 1); in GetProcessorLocationByApicId()
1091 *Package = (InitialApicId >> (ThreadBits + CoreBits)); in GetProcessorLocationByApicId()
/device/linaro/bootloader/edk2/UefiCpuPkg/Library/BaseXApicX2ApicLib/
DBaseXApicX2ApicLib.c1066 UINTN CoreBits; in GetProcessorLocationByApicId() local
1097 CoreBits = 0; in GetProcessorLocationByApicId()
1154 CoreBits = ExtendedTopologyEax.Bits.ApicIdShift - ThreadBits; in GetProcessorLocationByApicId()
1177 CoreBits = (UINTN)(HighBitSet32(MaxCoresPerPackage - 1) + 1); } in GetProcessorLocationByApicId()
1183 *Core = (InitialApicId >> ThreadBits) & ((1 << CoreBits) - 1); in GetProcessorLocationByApicId()
1186 *Package = (InitialApicId >> (ThreadBits + CoreBits)); in GetProcessorLocationByApicId()