From 7477a0f942c374b652da4f80cdb36d4661aac3c8 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Sun, 13 Oct 2024 15:29:55 +0200 Subject: 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 --- dev/sci/src/sci_mm.cxx | 7 ------- 1 file changed, 7 deletions(-) (limited to 'dev/sci/src') 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; } -- cgit v1.2.3