Magellan Linux

Contents of /trunk/mkinitrd-magellan/klibc/usr/klibc/arch/mips/vfork.S

Parent Directory Parent Directory | Revision Log Revision Log


Revision 815 - (show annotations) (download)
Fri Apr 24 18:32:46 2009 UTC (15 years ago) by niro
File size: 263 byte(s)
-updated to klibc-1.5.15
1 #include <machine/asm.h>
2 #include <asm/unistd.h>
3
4 #define CLONE_VM 0x00000100
5 #define CLONE_VFORK 0x00004000
6 #define SIGCHLD 18
7
8 .set noreorder
9
10 LEAF(vfork)
11 li a0, CLONE_VFORK | CLONE_VM | SIGCHLD
12 li a1, 0
13 j __syscall_common
14 li v0, __NR_clone
15 END(vfork)