Only print out APIC info on an SMP system during a panic if APIC_IO is
defined.
This commit is contained in:
parent
1b12cb1ecb
commit
39cf580768
@ -558,8 +558,10 @@ panic(const char *fmt, ...)
|
|||||||
#ifdef SMP
|
#ifdef SMP
|
||||||
/* two seperate prints in case of an unmapped page and trap */
|
/* two seperate prints in case of an unmapped page and trap */
|
||||||
printf("cpuid = %d; ", cpuid);
|
printf("cpuid = %d; ", cpuid);
|
||||||
|
#ifdef APIC_IO
|
||||||
printf("lapic.id = %08x\n", lapic.id);
|
printf("lapic.id = %08x\n", lapic.id);
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#if defined(DDB)
|
#if defined(DDB)
|
||||||
if (debugger_on_panic)
|
if (debugger_on_panic)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user