summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2010-08-19 18:14:15 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2010-08-19 18:14:15 +0000
commitc18462087a5620f613f1e8e0f355ab8aaa083efb (patch)
treecdee60eb83a06adb7a957117d11f68157736c635 /lib
parent0f907612e4f9f3908804f40de80d55fc0479f3fb (diff)
Introduce an MI kern.consdev sysctl that will replace the MD
machdep.console_device that's only implemented on a few architectures. ok deraadt@, miod@
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/gen/sysctl.37
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/libc/gen/sysctl.3 b/lib/libc/gen/sysctl.3
index b2a77e88d59..446ea9d11e1 100644
--- a/lib/libc/gen/sysctl.3
+++ b/lib/libc/gen/sysctl.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: sysctl.3,v 1.197 2010/06/29 17:04:31 tedu Exp $
+.\" $OpenBSD: sysctl.3,v 1.198 2010/08/19 18:14:14 kettenis Exp $
.\"
.\" Copyright (c) 1993
.\" The Regents of the University of California. All rights reserved.
@@ -27,7 +27,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: June 29 2010 $
+.Dd $Mdocdate: August 19 2010 $
.Dt SYSCTL 3
.Os
.Sh NAME
@@ -410,6 +410,7 @@ information.
.It Dv KERN_BUFCACHEPERCENT No " integer yes"
.It Dv KERN_CCPU No " integer no"
.It Dv KERN_CLOCKRATE No " struct clockinfo no"
+.It Dv KERN_CONSDEV No " dev_t no"
.It Dv KERN_CPTIME No " long[CPUSTATES] no"
.It Dv KERN_CPTIME2 No " u_int64_t[CPUSTATES] no"
.It Dv KERN_CRYPTODEVALLOWSOFT No " integer yes"
@@ -504,6 +505,8 @@ structure is returned.
This structure contains the clock, statistics clock and profiling clock
frequencies, the number of micro-seconds per hz tick, and the clock
skew rate.
+.It Dv KERN_CONSDEV
+The console device.
.It Dv KERN_CPTIME
An array of longs of size
.Li CPUSTATES