chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
9829867fab77136c0682faecb5a32896f2ebf16e
[elogind.git]
/
klibc
/
klibc
/
arch
/
mips
/
vfork.S
1
#include <asm/asm.h>
2
#include <asm/regdef.h>
3
#include <asm/unistd.h>
4
5
#define CLONE_VM 0x00000100
6
#define CLONE_VFORK 0x00004000
7
#define SIGCHLD 18
8
9
.set noreorder
10
11
LEAF(vfork)
12
li a0, CLONE_VFORK | CLONE_VM | SIGCHLD
13
li a1, 0
14
j __syscall_common
15
li v0, __NR_clone
16
END(vfork)