summaryrefslogtreecommitdiffstats
path: root/sys/powerpc
diff options
context:
space:
mode:
authorgrehan <grehan@FreeBSD.org>2002-09-19 04:44:35 +0000
committergrehan <grehan@FreeBSD.org>2002-09-19 04:44:35 +0000
commit2a3c9409d734d31623ea2a593759ae9fabf08077 (patch)
treea12d4cbd46f8179a0d2d6a836fbe6113e1471d3f /sys/powerpc
parent12ec2e7c5de76c727568fc479746b6e445d67f5a (diff)
downloadFreeBSD-src-2a3c9409d734d31623ea2a593759ae9fabf08077.zip
FreeBSD-src-2a3c9409d734d31623ea2a593759ae9fabf08077.tar.gz
Additional machdep sysctl constants needed for userland utils
Approved by: benno
Diffstat (limited to 'sys/powerpc')
-rw-r--r--sys/powerpc/include/cpu.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/sys/powerpc/include/cpu.h b/sys/powerpc/include/cpu.h
index 36fc196..19b0c72 100644
--- a/sys/powerpc/include/cpu.h
+++ b/sys/powerpc/include/cpu.h
@@ -64,8 +64,12 @@ extern void __syncicache(void *, int);
* CTL_MACHDEP definitions.
*/
#define CPU_CACHELINE 1
-#define CPU_MAXID 2
-#define CPU_CONSDEV 1
+#define CPU_CONSDEV 2
+#define CPU_ADJKERNTZ 3
+#define CPU_DISRTCSET 4
+#define CPU_BOOTINFO 5
+#define CPU_WALLCLOCK 6
+#define CPU_MAXID 7
#define CTL_MACHDEP_NAMES { \
{ 0, 0 }, \
OpenPOWER on IntegriCloud