Initial revision

This commit is contained in:
ceriel
1987-02-20 14:36:01 +00:00
parent 429502815f
commit 8612a70ea3
167 changed files with 2574 additions and 0 deletions

18
mach/sun3/libsys/vfork.s Normal file
View File

@@ -0,0 +1,18 @@
#include "syscall.h"
.sect .text; .sect .rom; .sect .data; .sect .bss; .sect .text
.define _vfork
_vfork:
move.l (sp)+,a0
pea (SYS_vfork)
trap #0
bcs 1f
tst.l d1
bne 2f
jmp (a0)
1:
move.l d0,(_errno)
move.l #-1,d0
jmp (a0)
2:
clr.l d0
jmp (a0)