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