summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64/include/cpu.h
diff options
context:
space:
mode:
authorJason Wright <jason@cvs.openbsd.org>2002-03-27 15:12:23 +0000
committerJason Wright <jason@cvs.openbsd.org>2002-03-27 15:12:23 +0000
commit67ea948043ecb2abd5a9c940bf630f94b262a031 (patch)
tree8309b2bea74caf65f7bc10eb29e891d37dd04463 /sys/arch/sparc64/include/cpu.h
parent29e49e6bd1e4a23aaafdd0c6b3be19c2764667dd (diff)
Need APERTURE so we can read/write pci configuration with securelevel > 0
Diffstat (limited to 'sys/arch/sparc64/include/cpu.h')
-rw-r--r--sys/arch/sparc64/include/cpu.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/arch/sparc64/include/cpu.h b/sys/arch/sparc64/include/cpu.h
index c9df2248502..05847ed1de6 100644
--- a/sys/arch/sparc64/include/cpu.h
+++ b/sys/arch/sparc64/include/cpu.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: cpu.h,v 1.9 2002/03/14 03:16:00 millert Exp $ */
+/* $OpenBSD: cpu.h,v 1.10 2002/03/27 15:12:22 jason Exp $ */
/* $NetBSD: cpu.h,v 1.28 2001/06/14 22:56:58 thorpej Exp $ */
/*
@@ -53,12 +53,14 @@
*/
#define CPU_BOOTED_KERNEL 1 /* string: booted kernel name */
#define CPU_LED_BLINK 2 /* int: blink leds? */
-#define CPU_MAXID 3 /* number of valid machdep ids */
+#define CPU_ALLOWAPERTURE 3 /* allow xf86 operations */
+#define CPU_MAXID 4 /* number of valid machdep ids */
#define CTL_MACHDEP_NAMES { \
{ 0, 0 }, \
{ "booted_kernel", CTLTYPE_STRING }, \
{ "led_blink", CTLTYPE_INT }, \
+ { "allowaperture", CTLTYPE_INT }, \
}
#ifdef _KERNEL