Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/sys grow a NOLOCK flag.
details: https://anonhg.NetBSD.org/src/rev/4e1f9201e89a
branches: trunk
changeset: 543121:4e1f9201e89a
user: christos <christos%NetBSD.org@localhost>
date: Mon Feb 17 22:19:13 2003 +0000
description:
grow a NOLOCK flag.
diffstat:
sys/sys/kprintf.h | 13 +++++++------
1 files changed, 7 insertions(+), 6 deletions(-)
diffs (27 lines):
diff -r db1aedf3f0c0 -r 4e1f9201e89a sys/sys/kprintf.h
--- a/sys/sys/kprintf.h Mon Feb 17 21:18:46 2003 +0000
+++ b/sys/sys/kprintf.h Mon Feb 17 22:19:13 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: kprintf.h,v 1.1 2002/12/31 16:53:26 thorpej Exp $ */
+/* $NetBSD: kprintf.h,v 1.2 2003/02/17 22:19:13 christos Exp $ */
/*-
* Copyright (c) 1986, 1988, 1991, 1993
@@ -78,11 +78,12 @@
#endif /* MULTIPROCESSOR */
/* flags for kprintf */
-#define TOCONS 0x01 /* to the console */
-#define TOTTY 0x02 /* to the process' tty */
-#define TOLOG 0x04 /* to the kernel message buffer */
-#define TOBUFONLY 0x08 /* to the buffer (only) [for snprintf] */
-#define TODDB 0x10 /* to ddb console */
+#define TOCONS 0x0001 /* to the console */
+#define TOTTY 0x0002 /* to the process' tty */
+#define TOLOG 0x0004 /* to the kernel message buffer */
+#define TOBUFONLY 0x0008 /* to the buffer (only) [for snprintf] */
+#define TODDB 0x0010 /* to ddb console */
+#define NOLOCK 0x1000 /* don't acquire a tty lock */
/*
* NOTE: the kprintf mutex must be held when these functions are called!
Home |
Main Index |
Thread Index |
Old Index