cpu_get_state
cpu->cpu_type_info.pi_state = cpu_get_state(cpu);
int cpu_get_state(cpu_t *); /* get current cpu state */
ASSERT(cpu_get_state(cp) == P_OFFLINE);
ASSERT(cpu_get_state(cp) == P_OFFLINE);
ASSERT(cpu_get_state(cp) == P_OFFLINE);
ASSERT(cpu_get_state(cp) == P_OFFLINE);
*old_status = status = cpu_get_state(cp); /* get processor status */
if (cpu_get_state(cp) == P_POWEROFF) {
if (cpu_get_state(cp) != P_POWEROFF) {
if (cpu_get_state(cpu[i]) == P_POWEROFF)