chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[PATCH] klibc: version 1.0.6
[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)