diff options
| author | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2024-10-13 15:29:55 +0200 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2024-10-13 15:29:55 +0200 |
| commit | 7477a0f942c374b652da4f80cdb36d4661aac3c8 (patch) | |
| tree | d06627de4689b5661f4b95c4fa15f932b004ad13 /dev/sci | |
| parent | 182f2baa4d38a286d3453cc0da90ebec5fb25266 (diff) | |
IMP: Delete the memory list when exiting process.
IMP: Add Allocation (and delete) of MemoryList.
IMP: BitMap allocator must now allocate directories as well.
IMP: Add Handover arch to check if executable is an AMD64 executable or
ARM64 executable.
FIX: Add ::EFI::Stop, when a thread doesn't load correctly.
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'dev/sci')
| -rw-r--r-- | dev/sci/makefile | 2 | ||||
| -rw-r--r-- | dev/sci/sci.json | 2 | ||||
| -rw-r--r-- | dev/sci/src/sci_mm.cxx | 7 |
3 files changed, 2 insertions, 9 deletions
diff --git a/dev/sci/makefile b/dev/sci/makefile index c66d7a78..05593216 100644 --- a/dev/sci/makefile +++ b/dev/sci/makefile @@ -5,7 +5,7 @@ CC=g++
FLAGS=-I../ -shared -fPIC -D__ZKA_SYMS__
-OUTPUT=zka-sci-cxx.dll
+OUTPUT=sci.dll
.PHONY: build-sci
build-sci:
diff --git a/dev/sci/sci.json b/dev/sci/sci.json index 0bc6cdcf..e67671ce 100644 --- a/dev/sci/sci.json +++ b/dev/sci/sci.json @@ -3,7 +3,7 @@ "compiler_std": "c++20", "headers_path": ["../"], "sources_path": ["src/*.cxx"], - "output_name": "zka-sci-cxx.dll", + "output_name": "sci.dll", "compiler_flags": [ "-fPIC", "-ffreestanding", diff --git a/dev/sci/src/sci_mm.cxx b/dev/sci/src/sci_mm.cxx index 34bf4936..d7665ddd 100644 --- a/dev/sci/src/sci_mm.cxx +++ b/dev/sci/src/sci_mm.cxx @@ -9,11 +9,6 @@ /// @file sci_base.cxx
/// @brief Base Memory Manager functions for SCI.dll
-/// @brief Debug error prompt, when a function misbehaves.
-/// @param msg
-/// @return
-IMPORT_C Void __RtlRaiseSoftError(const char* msg);
-
/// @brief Copy memory region.
IMPORT_C VoidPtr MmCopyMemory(_Input VoidPtr dest, _Input VoidPtr src, _Input SizeT len)
{
@@ -21,7 +16,6 @@ IMPORT_C VoidPtr MmCopyMemory(_Input VoidPtr dest, _Input VoidPtr src, _Input Si !dest ||
!src)
{
- __RtlRaiseSoftError("Debug Error, MmCopyMemory contains one or more invalid arguments.");
return nullptr;
}
@@ -39,7 +33,6 @@ IMPORT_C VoidPtr MmFillMemory(_Input VoidPtr dest, _Input SizeT len, _Input UInt if (!len ||
!dest)
{
- __RtlRaiseSoftError("Debug Error, MmFillMemory contains one or more invalid arguments.");
return nullptr;
}
|
