summaryrefslogtreecommitdiffstats
path: root/sys/sparc64
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2006-05-11 17:29:25 +0000
committerphk <phk@FreeBSD.org>2006-05-11 17:29:25 +0000
commit5d8c57a08b9672c7d0e291de28d2f3b0f1fd3dc6 (patch)
tree072e4b2d53f0f46efa9275ac382569204124cbdf /sys/sparc64
parent9690ea4717220c8d57c7ebe10dd3e2512ccc5651 (diff)
downloadFreeBSD-src-5d8c57a08b9672c7d0e291de28d2f3b0f1fd3dc6.zip
FreeBSD-src-5d8c57a08b9672c7d0e291de28d2f3b0f1fd3dc6.tar.gz
Clean out sysctl machdep.* related defines.
The cmos clock related stuff should really be in MI code.
Diffstat (limited to 'sys/sparc64')
-rw-r--r--sys/sparc64/include/cpu.h19
1 files changed, 0 insertions, 19 deletions
diff --git a/sys/sparc64/include/cpu.h b/sys/sparc64/include/cpu.h
index f15078b..ef48721 100644
--- a/sys/sparc64/include/cpu.h
+++ b/sys/sparc64/include/cpu.h
@@ -47,25 +47,6 @@
#define cpu_setstack(td, sp) ((td)->td_frame->tf_sp = (sp))
#define cpu_spinwait() /* nothing */
-/*
- * CTL_MACHDEP definitions.
- */
-#define CPU_CONSDEV 1 /* dev_t: console terminal device */
-#define CPU_ADJKERNTZ 2 /* int: timezone offset (seconds) */
-#define CPU_DISRTCSET 3 /* int: disable resettodr() call */
-#define CPU_BOOTINFO 4 /* struct: bootinfo */
-#define CPU_WALLCLOCK 5 /* int: indicates wall CMOS clock */
-#define CPU_MAXID 6 /* number of valid machdep ids */
-
-#define CTL_MACHDEP_NAMES { \
- { 0, 0 }, \
- { "console_device", CTLTYPE_STRUCT }, \
- { "adjkerntz", CTLTYPE_INT }, \
- { "disable_rtc_set", CTLTYPE_INT }, \
- { "bootinfo", CTLTYPE_STRUCT }, \
- { "wall_cmos_clock", CTLTYPE_INT }, \
-}
-
#ifdef _KERNEL
extern char btext[];
OpenPOWER on IntegriCloud