Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/sparc64/sparc64 print the fplwp in "mach cpu" list.
details: https://anonhg.NetBSD.org/src/rev/66f9696dc4e3
branches: trunk
changeset: 749540:66f9696dc4e3
user: mrg <mrg%NetBSD.org@localhost>
date: Wed Dec 02 07:55:53 2009 +0000
description:
print the fplwp in "mach cpu" list.
diffstat:
sys/arch/sparc64/sparc64/db_interface.c | 11 ++++++-----
1 files changed, 6 insertions(+), 5 deletions(-)
diffs (32 lines):
diff -r 5de0f46e0937 -r 66f9696dc4e3 sys/arch/sparc64/sparc64/db_interface.c
--- a/sys/arch/sparc64/sparc64/db_interface.c Wed Dec 02 07:55:01 2009 +0000
+++ b/sys/arch/sparc64/sparc64/db_interface.c Wed Dec 02 07:55:53 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: db_interface.c,v 1.119 2009/12/01 18:51:20 martin Exp $ */
+/* $NetBSD: db_interface.c,v 1.120 2009/12/02 07:55:53 mrg Exp $ */
/*
* Copyright (c) 1996-2002 Eduardo Horvath. All rights reserved.
@@ -34,7 +34,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: db_interface.c,v 1.119 2009/12/01 18:51:20 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: db_interface.c,v 1.120 2009/12/02 07:55:53 mrg Exp $");
#include "opt_ddb.h"
#include "opt_multiprocessor.h"
@@ -1141,9 +1141,10 @@
struct cpu_info *ci;
for (ci = cpus; ci; ci = ci->ci_next) {
- db_printf("cpu%d: self 0x%08lx lwp 0x%08lx pcb 0x%08lx\n",
- ci->ci_index, (u_long)ci->ci_self,
- (u_long)ci->ci_curlwp, (u_long)ci->ci_cpcb);
+ db_printf("cpu%d: self 0x%08lx lwp 0x%08lx pcb 0x%08lx "
+ "fplwp 0x%08lx\n", ci->ci_index, (u_long)ci->ci_self,
+ (u_long)ci->ci_curlwp, (u_long)ci->ci_cpcb,
+ (u_long)ci->ci_fplwp);
}
}
Home |
Main Index |
Thread Index |
Old Index