about summary refs log tree commit diff
path: root/src/process/sh/vfork.s
blob: 91dbde7b93920bacc93f09e9c9cd95874dc86ea2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
.global vfork
.type vfork,@function
vfork:
	mov #95, r3
	add r3, r3

	trapa #31
	or    r0, r0
	or    r0, r0
	or    r0, r0
	or    r0, r0
	or    r0, r0

	mov r0, r4
	mov.l 1f, r0
2:	braf r0
	 nop
	.align 2
	.hidden __syscall_ret
1:	.long __syscall_ret@PLT-(2b+4-.)