SYS.h: adding EX()

Makefile.inc: adding a cflag for a compiler that doesn't define ns32k
This commit is contained in:
phil 1994-02-25 07:40:47 +00:00
parent d9e3a8d482
commit 94303d1113
2 changed files with 5 additions and 2 deletions

View File

@ -1,4 +1,5 @@
# $Id: Makefile.inc,v 1.2 1993/12/05 02:20:00 cgd Exp $
# $Id: Makefile.inc,v 1.3 1994/02/25 07:40:47 phil Exp $
CFLAGS += -DIEEE_8087
KMINCLUDES= arch/ns32k/SYS.h arch/ns32k/DEFS.h
KMSRCS= setjmp.S htonl.S htons.S ntohl.S ntohs.S

View File

@ -35,7 +35,7 @@
*
* @(#)SYS.h 5.5 (Berkeley) 5/7/91
*
* $Id: SYS.h,v 1.1 1993/10/07 00:20:06 cgd Exp $
* $Id: SYS.h,v 1.2 1994/02/25 07:40:49 phil Exp $
*
* Modified for the ns532 by Phil Nelson, 12/1/92
*
@ -51,6 +51,8 @@
#define ENTRY(x) .globl _/**/x; .text; .align 1; _/**/x:
#endif PROF
#define EX(x) _##x
#define SYSCALL(x) ENTRY(x); movd SYS_/**/x, r0; svc; bcs cerror
#define RSYSCALL(x) SYSCALL(x); ret 0
#define PSEUDO(x,y) ENTRY(x); movd SYS_/**/y, r0; svc; ret 0