Revision 6cb2996c hw/pc.c
b/hw/pc.c | ||
---|---|---|
760 | 760 |
|
761 | 761 |
int cpu_is_bsp(CPUState *env) |
762 | 762 |
{ |
763 |
return env->cpuid_apic_id == 0; |
|
763 |
/* We hard-wire the BSP to the first CPU. */ |
|
764 |
return env->cpu_index == 0; |
|
764 | 765 |
} |
765 | 766 |
|
766 | 767 |
static CPUState *pc_new_cpu(const char *cpu_model) |
Also available in: Unified diff