dump current value of CR0

This commit is contained in:
Stefan Lankes 2011-09-22 21:36:29 +02:00
parent c42642aadc
commit e9ddfd0db2

View file

@ -320,6 +320,8 @@ void smp_start(uint32_t id)
// enable additional cpu features
cpu_detection();
kprintf("CR0 of core %u: 0x%x\n", apic_cpu_id(), read_cr0());
smp_main();
// idle loop
@ -355,6 +357,8 @@ int smp_init(void)
if (ncores <= 1)
return -EINVAL;
kprintf("CR0 of core %u: 0x%x\n", apic_cpu_id(), read_cr0());
for(i=1; (i<ncores) && (i<MAX_CORES); i++)
{
/*