Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/x86/x86 Make "mach cpu" in ddb show the IPL for eac...
details: https://anonhg.NetBSD.org/src/rev/c098d22887ac
branches: trunk
changeset: 466987:c098d22887ac
user: ad <ad%NetBSD.org@localhost>
date: Wed Jan 08 15:47:50 2020 +0000
description:
Make "mach cpu" in ddb show the IPL for each cpu.
diffstat:
sys/arch/x86/x86/cpu.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diffs (36 lines):
diff -r 5f87166fe3e3 -r c098d22887ac sys/arch/x86/x86/cpu.c
--- a/sys/arch/x86/x86/cpu.c Wed Jan 08 14:21:12 2020 +0000
+++ b/sys/arch/x86/x86/cpu.c Wed Jan 08 15:47:50 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cpu.c,v 1.179 2019/12/20 21:05:34 ad Exp $ */
+/* $NetBSD: cpu.c,v 1.180 2020/01/08 15:47:50 ad Exp $ */
/*
* Copyright (c) 2000-2012 NetBSD Foundation, Inc.
@@ -62,7 +62,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cpu.c,v 1.179 2019/12/20 21:05:34 ad Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cpu.c,v 1.180 2020/01/08 15:47:50 ad Exp $");
#include "opt_ddb.h"
#include "opt_mpbios.h" /* for MPDEBUG */
@@ -1014,14 +1014,14 @@
#endif
"";
- db_printf("addr %sdev id flags ipis curlwp "
+ db_printf("addr %sdev id flags ipis spl curlwp "
"\n", sixtyfour64space);
for (CPU_INFO_FOREACH(cii, ci)) {
- db_printf("%p %s %ld %x %x %10p\n",
+ db_printf("%p %s %ld %x %x %d %10p\n",
ci,
ci->ci_dev == NULL ? "BOOT" : device_xname(ci->ci_dev),
(long)ci->ci_cpuid,
- ci->ci_flags, ci->ci_ipis,
+ ci->ci_flags, ci->ci_ipis, ci->ci_ilevel,
ci->ci_curlwp);
}
}
Home |
Main Index |
Thread Index |
Old Index