Lines Matching refs:Prcb
112 PKPRCB Prcb = KeGetCurrentPrcb(); in KiGetCpuVendor() local
119 *(ULONG*)&Prcb->VendorString[0] = CpuInfo.Ebx; in KiGetCpuVendor()
120 *(ULONG*)&Prcb->VendorString[4] = CpuInfo.Edx; in KiGetCpuVendor()
121 *(ULONG*)&Prcb->VendorString[8] = CpuInfo.Ecx; in KiGetCpuVendor()
122 Prcb->VendorString[12] = 0; in KiGetCpuVendor()
125 if (!strcmp(Prcb->VendorString, CmpIntelID)) in KiGetCpuVendor()
129 else if (!strcmp(Prcb->VendorString, CmpAmdID)) in KiGetCpuVendor()
133 else if (!strcmp(Prcb->VendorString, CmpCyrixID)) in KiGetCpuVendor()
138 else if (!strcmp(Prcb->VendorString, CmpTransmetaID)) in KiGetCpuVendor()
143 else if (!strcmp(Prcb->VendorString, CmpCentaurID)) in KiGetCpuVendor()
148 else if (!strcmp(Prcb->VendorString, CmpRiseID)) in KiGetCpuVendor()
155 DPRINT1("%s CPU support not fully tested!\n", Prcb->VendorString); in KiGetCpuVendor()
216 PKPRCB Prcb = KeGetCurrentPrcb(); in KiGetFeatureBits() local
234 Prcb->InitialApicId = (UCHAR)(CpuInfo.Ebx >> 24); in KiGetFeatureBits()
242 if (Prcb->CpuType == 6) in KiGetFeatureBits()
247 Prcb->UpdateSignature.QuadPart = __readmsr(0x8B); in KiGetFeatureBits()
249 else if (Prcb->CpuType == 5) in KiGetFeatureBits()
264 if ((Prcb->CpuType < 6) || in KiGetFeatureBits()
265 ((Prcb->CpuType == 6) && (Prcb->CpuStep < 0x0303))) in KiGetFeatureBits()
326 if (Prcb->CpuType == 6 && in KiGetFeatureBits()
327 Prcb->CpuStep <= 1) in KiGetFeatureBits()
387 Prcb->LogicalProcessorsPerPhysicalProcessor = (UCHAR)(CpuInfo.Ebx >> 16); in KiGetFeatureBits()
388 if (Prcb->LogicalProcessorsPerPhysicalProcessor > 1) in KiGetFeatureBits()
397 Prcb->LogicalProcessorsPerPhysicalProcessor = 1; in KiGetFeatureBits()
1161 PKPRCB Prcb = KeGetCurrentPrcb(); in KiSaveProcessorState() local
1166 Prcb->ProcessorState.ContextFrame.ContextFlags = CONTEXT_FULL | in KiSaveProcessorState()
1168 KeTrapFrameToContext(TrapFrame, NULL, &Prcb->ProcessorState.ContextFrame); in KiSaveProcessorState()
1173 KiSaveProcessorControlState(&Prcb->ProcessorState); in KiSaveProcessorState()
1596 PKPRCB Prcb = KeGetCurrentPrcb(); in KeFlushEntireTb() local
1607 TargetAffinity &= ~Prcb->SetMember; in KeFlushEntireTb()
1629 ASSERT(Prcb == KeGetCurrentPrcb()); in KeFlushEntireTb()