summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_shutdown.c
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1997-09-05 08:54:55 +0000
committerpeter <peter@FreeBSD.org>1997-09-05 08:54:55 +0000
commit1428bb8823428b5a4d0e90a03297865a44388dba (patch)
treef9d354c7ab47548434e4408ee76cbaf6262825c3 /sys/kern/kern_shutdown.c
parenteaafbd1c6721f5f9ab3f9e87ddbcc80cdf17d081 (diff)
downloadFreeBSD-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.c7
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)
OpenPOWER on IntegriCloud