repo.or.cz
/
minix3.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Remove building with NOCRYPTO option
[minix3.git]
/
lib
/
libc
/
arch
/
mips
/
sys
/
__syscall.S
blob
0841e4795a3a2ddb097329adb2205fcb94fba576
1
/* $NetBSD: __syscall.S,v 1.2 2014/01/31 18:06:26 matt Exp $ */
2
3
#include "SYS.h"
4
5
#ifdef __mips_o32
6
RSYSCALL(__syscall)
7
#else
8
9
LEAF(__syscall)
10
PIC_PROLOGUE(__syscall)
11
move v0, a0
12
move a0, a1
13
move a1, a2
14
move a2, a3
15
move a3, a4
16
move a4, a5
17
move a5, a6
18
move a6, a7
19
REG_L a7, (sp)
20
SYSTRAP(__syscall)
21
bne a3,zero,1f
22
PIC_RETURN()
23
1:
24
PIC_TAILCALL(__cerror)
25
END(__syscall)
26
STRONG_ALIAS(syscall, __syscall)
27
#endif