summaryrefslogtreecommitdiff
path: root/sys/arch/m88k/include/asm.h
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2005-04-30 16:46:52 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2005-04-30 16:46:52 +0000
commit9edcff4551c42dc5a7f8fe2e5422e49df90ce756 (patch)
treeab4f8baa96f94a07396bb76899c6c541527fe815 /sys/arch/m88k/include/asm.h
parentee81fe81280bedfe2e74d2a1de8d1cba00aa7c3b (diff)
Move CALL() from <machine/asm.h> to eh.S which is the only user of the macro,
and replace it with faster constructs in some cases; also drop the unused CALLP() macro.
Diffstat (limited to 'sys/arch/m88k/include/asm.h')
-rw-r--r--sys/arch/m88k/include/asm.h18
1 files changed, 1 insertions, 17 deletions
diff --git a/sys/arch/m88k/include/asm.h b/sys/arch/m88k/include/asm.h
index 2b8354a78fe..aa408898a03 100644
--- a/sys/arch/m88k/include/asm.h
+++ b/sys/arch/m88k/include/asm.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: asm.h,v 1.4 2005/04/27 21:12:44 miod Exp $ */
+/* $OpenBSD: asm.h,v 1.5 2005/04/30 16:46:49 miod Exp $ */
/*
* Mach Operating System
@@ -167,22 +167,6 @@
#define RTE NOP ; rte
/*
- * Useful in some situations.
- */
-#define CALL(NAME, ARG1, ARG2) \
- or r2, r0, ARG1; \
- bsr.n NAME; \
- or r3, r0, ARG2
-
-/* This define is similar to CALL, but accepts a function pointer XXX smurph */
-#define CALLP(NAME, ARG1, ARG2) \
- or.u r5, r0, hi16(NAME); \
- ld r4, r5, lo16(NAME); \
- or r2, r0, ARG1; \
- jsr.n r4; \
- or r3, r0, ARG2
-
-/*
* Fields in cr18. More bits are used privately in the exception handling
* code.
*/