Searched refs:CoreBits (Results 1 – 2 of 2) sorted by relevance
47 UINTN CoreBits; in SmmGetProcessorLocation() local62 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()
50 UINTN CoreBits; in ExtractProcessorLocation() local73 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()