blob: 87418d0883ac076f064679e4436bd1bc8354bb29 [file] [log] [blame]
#include <cpu/x86/msr.h>
#if CONFIG_SMP
static int boot_cpu(void)
{
int bsp;
msr_t msr;
msr = rdmsr(0x1b);
bsp = !!(msr.lo & (1 << 8));
return bsp;
}
#else
#define boot_cpu(x) 1
#endif