summaryrefslogtreecommitdiffstats
path: root/sys/i386/include/cpu.h
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1994-10-15 21:18:11 +0000
committerache <ache@FreeBSD.org>1994-10-15 21:18:11 +0000
commit378cac598e23272316e08a5b39ca22a3f5283cba (patch)
treec94ae2431b57ec0aa36dd69e4c70f33664bc9edf /sys/i386/include/cpu.h
parente83980ba75b14cde431bc239a582f30e506805be (diff)
downloadFreeBSD-src-378cac598e23272316e08a5b39ca22a3f5283cba.zip
FreeBSD-src-378cac598e23272316e08a5b39ca22a3f5283cba.tar.gz
CPU_COLORDISP sysctl added for console display type
Diffstat (limited to 'sys/i386/include/cpu.h')
-rw-r--r--sys/i386/include/cpu.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/i386/include/cpu.h b/sys/i386/include/cpu.h
index 90ee9a2..16a5f25 100644
--- a/sys/i386/include/cpu.h
+++ b/sys/i386/include/cpu.h
@@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* from: @(#)cpu.h 5.4 (Berkeley) 5/9/91
- * $Id: cpu.h,v 1.12 1994/10/08 22:21:32 phk Exp $
+ * $Id: cpu.h,v 1.13 1994/10/10 01:06:48 phk Exp $
*/
#ifndef _MACHINE_CPU_H_
@@ -100,13 +100,15 @@ struct cpu_nameclass {
#define CPU_CONSDEV 1 /* dev_t: console terminal device */
#define CPU_ADJKERNTZ 2 /* int: timezone offset for resettodr() */
#define CPU_DISRTCSET 3 /* int: disable resettodr() call */
-#define CPU_MAXID 4 /* number of valid machdep ids */
+#define CPU_COLORDISP 4 /* int: console display type */
+#define CPU_MAXID 5 /* number of valid machdep ids */
#define CTL_MACHDEP_NAMES { \
{ 0, 0 }, \
{ "console_device", CTLTYPE_STRUCT }, \
{ "adjkerntz", CTLTYPE_INT }, \
{ "disable_rtc_set", CTLTYPE_INT }, \
+ { "color_display", CTLTYPE_INT }, \
}
#ifdef KERNEL
OpenPOWER on IntegriCloud