summaryrefslogtreecommitdiff
path: root/src/user/lib/syscall.s
blob: 07f56319f336b1e749901c8ad002635e817838e9 (plain)
1
2
3
4
5
6
7
8
9
.section .text
.global _syscall
.type _syscall, @function
_syscall:
	push %r10
	mov %rcx, %r10
	syscall
	pop %r10
	ret