Lines Matching refs:_cpu_capabilities
65 int _cpu_capabilities = 0; // define the capability vector
281 /* Initialize kernel version of _cpu_capabilities vector (used by KEXTs.) */
295 _cpu_capabilities &= ~kHasAltivec;
298 if (_cpu_capabilities & kDcbaAvailable) { // if this processor has DCBA, time it...
299 _cpu_capabilities |= commpage_time_dcba(); // ...and set kDcbaRecomended if it helps.
303 if (cpus == 1) _cpu_capabilities |= kUP;
304 _cpu_capabilities |= (cpus << kNumCPUsShift);
306 if (_cpu_capabilities & k64Bit) // 64-bit processors use SPRG3 for TLS
307 _cpu_capabilities |= kFastThreadLocalStorage;
399 if ( (_cpu_capabilities & kDcbaRecommended) == 0 ) {
471 if (_cpu_capabilities & k64Bit) {
552 must = _cpu_capabilities & rd->musthave;
553 cant = _cpu_capabilities & rd->canthave;
614 commpage_stuff(_COMM_PAGE_CPU_CAPABILITIES,&_cpu_capabilities,sizeof(int));
616 c1 = (_cpu_capabilities & kHasAltivec) ? -1 : 0;
619 c1 = (_cpu_capabilities & k64Bit) ? -1 : 0;
622 if (_cpu_capabilities & kCache32)
624 else if (_cpu_capabilities & kCache64)
626 else if (_cpu_capabilities & kCache128)
674 if (_cpu_capabilities & k64Bit) {