added new routines for ansi

This commit is contained in:
eck
1990-01-22 11:56:01 +00:00
parent 545b54b4c7
commit de8dc5b667
35 changed files with 273 additions and 2 deletions

15
mach/sun2/libsys/_wait.s Normal file
View File

@@ -0,0 +1,15 @@
#include "syscall.h"
.sect .text; .sect .rom; .sect .data; .sect .bss; .sect .text
.define __wait
__wait:
pea SYS_wait
trap #0
bcs 1f
tst.l 4(sp)
beq 2f
move.l 4(sp),a0
move.l d1,(a0)
2:
rts
1:
jmp cerror