From 5b18f32e0e061d21cdecc10775a56436b01e79aa Mon Sep 17 00:00:00 2001 From: John Baldwin Date: Tue, 24 Jun 2008 20:40:17 +0000 Subject: MFC: Add the kern.features sysctl tree and FEATURE() macro. Add a "pae" feature for PAE kernels on i386. --- sys/kern/kern_mib.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sys/kern') diff --git a/sys/kern/kern_mib.c b/sys/kern/kern_mib.c index 16755d477ed1..319651060722 100644 --- a/sys/kern/kern_mib.c +++ b/sys/kern/kern_mib.c @@ -302,6 +302,8 @@ SYSCTL_STRING(_kern, KERN_NISDOMAINNAME, domainname, CTLFLAG_RW, u_long hostid; SYSCTL_ULONG(_kern, KERN_HOSTID, hostid, CTLFLAG_RW, &hostid, 0, "Host ID"); +SYSCTL_NODE(_kern, OID_AUTO, features, CTLFLAG_RD, 0, "Kernel Features"); + /* * This is really cheating. These actually live in the libc, something * which I'm not quite sure is a good idea anyway, but in order for -- cgit v1.3