From 642b5fb0007b64c77d186fcb018d571152ee1d47 Mon Sep 17 00:00:00 2001 From: dzwdz Date: Mon, 14 Aug 2023 18:51:07 +0200 Subject: reorganization: first steps --- src/libc/syscall.s | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 src/libc/syscall.s (limited to 'src/libc/syscall.s') diff --git a/src/libc/syscall.s b/src/libc/syscall.s new file mode 100644 index 0000000..07f5631 --- /dev/null +++ b/src/libc/syscall.s @@ -0,0 +1,9 @@ +.section .text +.global _syscall +.type _syscall, @function +_syscall: + push %r10 + mov %rcx, %r10 + syscall + pop %r10 + ret -- cgit v1.2.3