added new routines for ansi
This commit is contained in:
14
mach/sun3/libsys/_fork.s
Normal file
14
mach/sun3/libsys/_fork.s
Normal file
@@ -0,0 +1,14 @@
|
||||
#include "syscall.h"
|
||||
.sect .text; .sect .rom; .sect .data; .sect .bss; .sect .text
|
||||
.define __fork
|
||||
__fork:
|
||||
pea (SYS_fork)
|
||||
trap #0
|
||||
bcs 1f
|
||||
tst.l d1
|
||||
beq 2f
|
||||
clr.l d0
|
||||
2:
|
||||
rts
|
||||
1:
|
||||
jmp (cerror)
|
||||
Reference in New Issue
Block a user