diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2006-03-14 22:42:02 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2006-03-14 22:42:02 +0000 |
commit | 4f54342c387e7b655add7cb200de348902b6e29b (patch) | |
tree | 25d4d4c1b9ad3f4f3717c72f3c038ec5c423f707 /sys/arch | |
parent | ef6bb351fc1de0fa2eeec0873d730a30a1f7cb04 (diff) |
no need for an aperture. we are unlikely to ever allow pci video cards
in these machines, because pci video cards contain too much evil.
if we do support them later, we add it back. ok miod
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/sgi/sgi/machdep.c | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/sys/arch/sgi/sgi/machdep.c b/sys/arch/sgi/sgi/machdep.c index 64af2bc9412..32bdf8259a9 100644 --- a/sys/arch/sgi/sgi/machdep.c +++ b/sys/arch/sgi/sgi/machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: machdep.c,v 1.30 2006/03/04 22:02:47 brad Exp $ */ +/* $OpenBSD: machdep.c,v 1.31 2006/03/14 22:42:01 deraadt Exp $ */ /* * Copyright (c) 2003-2004 Opsycon AB (www.opsycon.se / www.opsycon.com) @@ -96,13 +96,6 @@ void dump_tlb(void); /* the following is used externally (sysctl_hw) */ char machine[] = MACHINE; /* machine "architecture" */ char cpu_model[30]; -#ifdef APERTURE -#if defined(INSECURE) || defined(DEBUG) -int allowaperture = 1; -#else -int allowaperture = 0; -#endif -#endif /* * Declare these as initialized data so we can patch them. @@ -755,15 +748,6 @@ cpu_sysctl(name, namelen, oldp, oldlenp, newp, newlen, p) return ENOTDIR; /* overloaded */ switch (name[0]) { - case CPU_ALLOWAPERTURE: -#ifdef APERTURE - if (securelevel > 0) - return sysctl_rdint(oldp, oldlenp, newp, allowaperture); - else - return sysctl_int(oldp, oldlenp, newp, newlen, &allowaperture); -#else - return (sysctl_rdint(oldp, oldlenp, newp, 0)); -#endif default: return EOPNOTSUPP; } |