about summary refs log tree commit diff
path: root/src/internal/s390x/syscall.s
blob: 2322bc3682bdba95e302bc35b2e72b14624bd041 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
.global __syscall
.hidden __syscall
.type   __syscall, %function
__syscall:
	stg %r7, 56(%r15)
	lgr %r1, %r2
	lgr %r2, %r3
	lgr %r3, %r4
	lgr %r4, %r5
	lgr %r5, %r6
	lg  %r6, 160(%r15)
	lg  %r7, 168(%r15)
	svc 0
	lg  %r7, 56(%r15)
	br  %r14