From 9edcff4551c42dc5a7f8fe2e5422e49df90ce756 Mon Sep 17 00:00:00 2001 From: Miod Vallat Date: Sat, 30 Apr 2005 16:46:52 +0000 Subject: Move CALL() from 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. --- sys/arch/m88k/include/asm.h | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) (limited to 'sys/arch/m88k/include/asm.h') 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 @@ -166,22 +166,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. -- cgit v1.2.3