summaryrefslogtreecommitdiff
path: root/sys/arch/hppa/include
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2004-06-30 18:18:55 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2004-06-30 18:18:55 +0000
commit7039e43dd9bf0a037f340ffa979cb82b9f98a3ea (patch)
tree887f4a72624d9d8712799eecd0e7c2c0dcfd8844 /sys/arch/hppa/include
parent62f80b5f2a8e2e1b93cd93565a4e0d1cc5f9039f (diff)
allow forced fpu emulation through a sysctl
Diffstat (limited to 'sys/arch/hppa/include')
-rw-r--r--sys/arch/hppa/include/cpu.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/arch/hppa/include/cpu.h b/sys/arch/hppa/include/cpu.h
index 5eb720ab0e9..629f346bacb 100644
--- a/sys/arch/hppa/include/cpu.h
+++ b/sys/arch/hppa/include/cpu.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: cpu.h,v 1.43 2004/06/13 21:49:14 niklas Exp $ */
+/* $OpenBSD: cpu.h,v 1.44 2004/06/30 18:18:54 mickey Exp $ */
/*
* Copyright (c) 2000-2004 Michael Shalayeff
@@ -164,11 +164,13 @@ int cpu_dump(void);
* CTL_MACHDEP definitions.
*/
#define CPU_CONSDEV 1 /* dev_t: console terminal device */
-#define CPU_MAXID 2 /* number of valid machdep ids */
+#define CPU_FPU 2 /* int: fpu present/enabled */
+#define CPU_MAXID 3 /* number of valid machdep ids */
#define CTL_MACHDEP_NAMES { \
{ 0, 0 }, \
{ "console_device", CTLTYPE_STRUCT }, \
+ { "fpu", CTLTYPE_INT }, \
}
#endif