repo.or.cz
/
minix.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
[minix.git]
/
lib
/
libc
/
arch
/
powerpc
/
sys
/
__syscall.S
blob
295a1d32babffbd223241ee6289dd7cc1030dde8
1
/* $NetBSD: __syscall.S,v 1.3 2014/08/23 02:24:22 matt Exp $ */
2
3
#include "SYS.h"
4
5
.text
6
.p2align 2
7
ENTRY(__syscall)
8
mr %r0,%r3 /* syscall number */
9
mr %r3,%r4
10
mr %r4,%r5
11
mr %r5,%r6
12
mr %r6,%r7
13
mr %r7,%r8
14
mr %r8,%r9
15
mr %r9,%r10
16
ldreg %r10,(2*__SIZEOF_POINTER__)(%r1) /* final argument is on the stack */
17
sc
18
bnslr
19
BRANCH_TO_CERROR()
20
END(__syscall)
21
22
STRONG_ALIAS(syscall, __syscall)