diff options
author | peter <peter@FreeBSD.org> | 1997-09-05 08:54:55 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1997-09-05 08:54:55 +0000 |
commit | 1428bb8823428b5a4d0e90a03297865a44388dba (patch) | |
tree | f9d354c7ab47548434e4408ee76cbaf6262825c3 /sys/kern/kern_shutdown.c | |
parent | eaafbd1c6721f5f9ab3f9e87ddbcc80cdf17d081 (diff) | |
download | FreeBSD-src-1428bb8823428b5a4d0e90a03297865a44388dba.zip FreeBSD-src-1428bb8823428b5a4d0e90a03297865a44388dba.tar.gz |
Cosmetic adjustment for the trap/double fault/panic cpu id listing.
It now prints the apic id in hex rather than decimal.
Diffstat (limited to 'sys/kern/kern_shutdown.c')
-rw-r--r-- | sys/kern/kern_shutdown.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/sys/kern/kern_shutdown.c b/sys/kern/kern_shutdown.c index caaeb02..b3021aa 100644 --- a/sys/kern/kern_shutdown.c +++ b/sys/kern/kern_shutdown.c @@ -36,7 +36,7 @@ * SUCH DAMAGE. * * @(#)kern_shutdown.c 8.3 (Berkeley) 1/21/94 - * $Id: kern_shutdown.c,v 1.22 1997/08/31 23:08:38 bde Exp $ + * $Id: kern_shutdown.c,v 1.23 1997/09/02 20:05:41 bde Exp $ */ #include "opt_ddb.h" @@ -403,7 +403,10 @@ panic(const char *fmt, ...) va_end(ap); printf("\n"); #ifdef SMP - printf(" cpuid %d\n", cpuid); + /* three seperate prints in case of an unmapped page and trap */ + printf("mp_lock = %08x; ", mp_lock); + printf("cpuid = %d; ", cpuid); + printf("lapic.id = %08x\n", lapic.id); #endif #if defined(DDB) |