diff options
Diffstat (limited to 'src/internal/aarch64/syscall.s')
-rw-r--r-- | src/internal/aarch64/syscall.s | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/internal/aarch64/syscall.s b/src/internal/aarch64/syscall.s new file mode 100644 index 00000000..48fac924 --- /dev/null +++ b/src/internal/aarch64/syscall.s @@ -0,0 +1,13 @@ +.global __syscall +.type __syscall,%function +__syscall: + uxtw x8,w0 + mov x0,x1 + mov x1,x2 + mov x2,x3 + mov x3,x4 + mov x4,x5 + mov x5,x6 + mov x6,x7 + svc 0 + ret |