summaryrefslogtreecommitdiffhomepage
path: root/dev/SCIKit/src
diff options
context:
space:
mode:
Diffstat (limited to 'dev/SCIKit/src')
-rw-r--r--dev/SCIKit/src/DispatchSysCalls.asm4
-rw-r--r--dev/SCIKit/src/Makefile10
-rw-r--r--dev/SCIKit/src/MemoryMgr.cc (renamed from dev/SCIKit/src/Foundation.cc)4
3 files changed, 14 insertions, 4 deletions
diff --git a/dev/SCIKit/src/DispatchSysCalls.asm b/dev/SCIKit/src/DispatchSysCalls.asm
index f1668e21..d56f283f 100644
--- a/dev/SCIKit/src/DispatchSysCalls.asm
+++ b/dev/SCIKit/src/DispatchSysCalls.asm
@@ -1,7 +1,7 @@
;; /*
;; * ========================================================
;; *
-;; * ZKA
+;; * SCI
;; * Copyright (C) 2024, Amlal EL Mahrouss, all rights reserved., all rights reserved.
;; *
;; * ========================================================
@@ -9,6 +9,8 @@
[bits 64]
+section .text
+
global sci_syscall_arg_1
global sci_syscall_arg_2
global sci_syscall_arg_3
diff --git a/dev/SCIKit/src/Makefile b/dev/SCIKit/src/Makefile
index 68a6407b..90da7b01 100644
--- a/dev/SCIKit/src/Makefile
+++ b/dev/SCIKit/src/Makefile
@@ -1,3 +1,11 @@
+##################################################
+# (c) Amlal EL Mahrouss, all rights reserved.
+# This is the bootloader makefile.
+##################################################
+
+ASM=nasm
+FLAGS=-f win64
+
.PHONY: syscall_unit
syscall_unit:
- nasm -f win64 DispatchSysCalls.asm -o DispatchSysCalls.obj
+ $(ASM) $(FLAGS) DispatchSysCalls.asm -o DispatchSysCalls.obj
diff --git a/dev/SCIKit/src/Foundation.cc b/dev/SCIKit/src/MemoryMgr.cc
index e280aab8..bf8e1142 100644
--- a/dev/SCIKit/src/Foundation.cc
+++ b/dev/SCIKit/src/MemoryMgr.cc
@@ -6,8 +6,8 @@
#include <SCIKit/Foundation.h>
-/// @file Foundation.cc
-/// @brief Foundation source file for SCI Kit.
+/// @file MemoryMgr.cc
+/// @brief Source file for the memory functions.
/// @brief Copy memory region.
IMPORT_C VoidPtr MmCopyMemory(_Input VoidPtr dest, _Input VoidPtr src, _Input SizeT len)