summaryrefslogtreecommitdiff
path: root/sys/arch/mvme88k/include/locore.h
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2004-11-09 21:50:02 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2004-11-09 21:50:02 +0000
commit1f3a0aa0fc81150e541ecfad55c0bb6c49c87844 (patch)
tree42dcc78cf5ea14675c92ff00c4c3bf98448a8e60 /sys/arch/mvme88k/include/locore.h
parent3657f1f4d975dc18116ded1d958d6a413a0676f7 (diff)
Kill guarded_access() - the way we map OBIO, there is no need for special
treatement of interrupt vectors variables, a simple read will do. While there, speed up the interrupt handlers a bit: - remove old debug code or only compile it if option DEBUG. - use short circuits for setipl() if we know interrupts are disabled at this point: there is no need playing with the psr in these cases.
Diffstat (limited to 'sys/arch/mvme88k/include/locore.h')
-rw-r--r--sys/arch/mvme88k/include/locore.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/arch/mvme88k/include/locore.h b/sys/arch/mvme88k/include/locore.h
index dd554aaeafa..e57fc9ef3b8 100644
--- a/sys/arch/mvme88k/include/locore.h
+++ b/sys/arch/mvme88k/include/locore.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: locore.h,v 1.25 2004/10/01 19:00:51 miod Exp $ */
+/* $OpenBSD: locore.h,v 1.26 2004/11/09 21:50:01 miod Exp $ */
#ifndef _MACHINE_LOCORE_H_
#define _MACHINE_LOCORE_H_
@@ -15,8 +15,6 @@ int badaddr(vaddr_t addr, int size);
void set_cpu_number(unsigned number);
void doboot(void);
-int guarded_access(volatile u_int8_t *, unsigned, u_int8_t *);
-
/* locore_c_routines.c */
unsigned getipl(void);