Print this page
4664 CPU->cpu_pri_data hasn't been used for years

*** 75,92 **** extern uint32_t cpuid_feature_ecx_exclude; extern uint32_t cpuid_feature_edx_include; extern uint32_t cpuid_feature_edx_exclude; /* - * Dummy spl priority masks - */ - static unsigned char dummy_cpu_pri[MAXIPL + 1] = { - 0xf, 0xf, 0xf, 0xf, 0xf, 0xf, 0xf, 0xf, - 0xf, 0xf, 0xf, 0xf, 0xf, 0xf, 0xf, 0xf, 0xf - }; - - /* * Set console mode */ static void set_console_mode(uint8_t val) { --- 75,84 ----
*** 127,143 **** */ cpu[0]->cpu_m.mcpu_vcpu_info = &HYPERVISOR_shared_info->vcpu_info[0]; #endif /* - * Set up dummy cpu_pri_data values till psm spl code is - * installed. This allows splx() to work on amd64. - */ - - cpu[0]->cpu_pri_data = dummy_cpu_pri; - - /* * check if we've got special bits to clear or set * when checking cpu features */ if (bootprop_getval("cpuid_feature_ecx_include", &prop_value) != 0) --- 119,128 ----