Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/hpc/include add dbg_bit_print_msg define
details: https://anonhg.NetBSD.org/src/rev/1e0f23890b2f
branches: trunk
changeset: 522110:1e0f23890b2f
user: uch <uch%NetBSD.org@localhost>
date: Mon Feb 11 17:11:48 2002 +0000
description:
add dbg_bit_print_msg define
diffstat:
sys/arch/hpc/include/debug.h | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (18 lines):
diff -r 94d0703c51ea -r 1e0f23890b2f sys/arch/hpc/include/debug.h
--- a/sys/arch/hpc/include/debug.h Mon Feb 11 17:08:54 2002 +0000
+++ b/sys/arch/hpc/include/debug.h Mon Feb 11 17:11:48 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: debug.h,v 1.1 2002/01/29 18:53:06 uch Exp $ */
+/* $NetBSD: debug.h,v 1.2 2002/02/11 17:11:48 uch Exp $ */
/*-
* Copyright (c) 1999-2002 The NetBSD Foundation, Inc.
@@ -104,6 +104,8 @@
* debug print utility
*/
#define dbg_bit_print(a) __dbg_bit_print((a), sizeof(typeof(a)), 0, 0, 0, 1)
+#define dbg_bit_print_msg(a, m) \
+ __dbg_bit_print((a), sizeof(typeof(a)), 0, 0, (m), 1)
void __dbg_bit_print(u_int32_t, int, int, int, char *, int);
void dbg_bitmask_print(u_int32_t, u_int32_t, const char *);
void dbg_draw_line(int);
Home |
Main Index |
Thread Index |
Old Index