summaryrefslogtreecommitdiff
path: root/src/process/i386/vfork.s
blob: fadca20731836b278190bdb884c1db75830adcc5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
.global __vfork
.weak vfork
.type __vfork,@function
.type vfork,@function
__vfork:
vfork:
	pop %edx
	mov $190,%eax
	int $128
	push %edx
	push %eax
	call __syscall_ret
	pop %edx
	ret