diff options
| author | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2024-11-09 10:30:58 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2024-11-09 10:30:58 +0100 |
| commit | 67716b2871b1117510b26bc1aaf6fce7195272dc (patch) | |
| tree | 4bbc0a51e0d8cb6234a830baa713377dad3de325 /dev/SCIKit/src | |
| parent | a2013145412c7cf7eb461833f7853d80caa88723 (diff) | |
META: Important refactors and include SCIKit.dylib when building bootloader.
Diffstat (limited to 'dev/SCIKit/src')
| -rw-r--r-- | dev/SCIKit/src/DispatchSysCalls.asm | 4 | ||||
| -rw-r--r-- | dev/SCIKit/src/Makefile | 10 | ||||
| -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)
|
