summaryrefslogtreecommitdiffhomepage
path: root/dev/libSystem/src/SystemProc.asm
diff options
context:
space:
mode:
Diffstat (limited to 'dev/libSystem/src/SystemProc.asm')
-rw-r--r--dev/libSystem/src/SystemProc.asm81
1 files changed, 0 insertions, 81 deletions
diff --git a/dev/libSystem/src/SystemProc.asm b/dev/libSystem/src/SystemProc.asm
deleted file mode 100644
index 991a371f..00000000
--- a/dev/libSystem/src/SystemProc.asm
+++ /dev/null
@@ -1,81 +0,0 @@
-;; /*
-;; * ========================================================
-;; *
-;; * libSystem/src/SystemProc.asm
-;; * Copyright (C) 2024-2025, Amlal El Mahrouss, all rights reserved.
-;; *
-;; * ========================================================
-;; */
-
-[bits 64]
-
-section .text
-
-global libsys_syscall_arg_1
-global libsys_syscall_arg_2
-global libsys_syscall_arg_3
-global libsys_syscall_arg_4
-
-libsys_syscall_arg_1:
- push rbp
- mov rbp, rsp
-
- mov r8, rcx
-
- xor rax, rax
-
- syscall
-
- pop rbp
-
- ret
-
-libsys_syscall_arg_2:
- push rbp
- mov rbp, rsp
-
- mov r8, rcx
- mov r9, rdx
-
- xor rax, rax
-
- syscall
-
- pop rbp
-
- ret
-
-libsys_syscall_arg_3:
- push rbp
- mov rbp, rsp
-
- mov r8, rcx
- mov r9, rdx
- mov r10, rbx
-
- xor rax, rax
-
- syscall
-
- pop rbp
-
- ret
-
-libsys_syscall_arg_4:
- push rbp
- mov rbp, rsp
-
- mov rax, r8
-
- mov r8, rcx
- mov r9, rdx
- mov r10, rbx
- mov r11, rax
-
- xor rax, rax
-
- syscall
-
- pop rbp
-
- ret