summaryrefslogtreecommitdiffhomepage
path: root/dev/SCIKit/src
diff options
context:
space:
mode:
Diffstat (limited to 'dev/SCIKit/src')
-rw-r--r--dev/SCIKit/src/DispatchSysCalls.asm (renamed from dev/SCIKit/src/Syscall.asm)16
-rw-r--r--dev/SCIKit/src/Foundation.cc4
-rw-r--r--dev/SCIKit/src/Makefile3
3 files changed, 11 insertions, 12 deletions
diff --git a/dev/SCIKit/src/Syscall.asm b/dev/SCIKit/src/DispatchSysCalls.asm
index d1928191..d0a8054e 100644
--- a/dev/SCIKit/src/Syscall.asm
+++ b/dev/SCIKit/src/DispatchSysCalls.asm
@@ -9,23 +9,23 @@
[bits 64]
-global sci_syscall_1
-global sci_syscall_2
-global sci_syscall_3
-global sci_syscall_4
+global sci_syscall_arg_1
+global sci_syscall_arg_2
+global sci_syscall_arg_3
+global sci_syscall_arg_4
-sci_syscall_1:
+sci_syscall_arg_1:
mov r8, rcx
syscall
ret
-sci_syscall_2:
+sci_syscall_arg_2:
mov r8, rcx
mov r9, rdx
syscall
ret
-sci_syscall_3:
+sci_syscall_arg_3:
mov rbx, r8
mov r8, rcx
@@ -35,7 +35,7 @@ sci_syscall_3:
syscall
ret
-sci_syscall_4:
+sci_syscall_arg_4:
mov rbx, r8
mov rax, r9
diff --git a/dev/SCIKit/src/Foundation.cc b/dev/SCIKit/src/Foundation.cc
index 4231c02c..c0723c93 100644
--- a/dev/SCIKit/src/Foundation.cc
+++ b/dev/SCIKit/src/Foundation.cc
@@ -6,8 +6,8 @@
#include <SCIKit/Foundation.h>
-/// @file sci_base.cc
-/// @brief Base Memory Manager functions for SCI.dll
+/// @file Foundation.cc
+/// @brief Foundation source file for SCI Kit.
/// @brief Copy memory region.
IMPORT_C VoidPtr MmCopyMemory(_Input VoidPtr dest, _Input VoidPtr src, _Input SizeT len)
diff --git a/dev/SCIKit/src/Makefile b/dev/SCIKit/src/Makefile
index e518909a..68a6407b 100644
--- a/dev/SCIKit/src/Makefile
+++ b/dev/SCIKit/src/Makefile
@@ -1,4 +1,3 @@
.PHONY: syscall_unit
syscall_unit:
- nasm -f win64 Syscall.asm
-
+ nasm -f win64 DispatchSysCalls.asm -o DispatchSysCalls.obj