From 7764e88cd0032cd57fdc17a2906db9d8af9999e1 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Sun, 20 Oct 2024 17:53:37 +0200 Subject: IMP: New implementations and improvements. - Heap class allocation have been fixed. - Scheduler allocation has been fixed. - A new better flow for the kernel has been designed. Signed-off-by: Amlal El Mahrouss --- dev/crt/src/hal/x86/base_alloc.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'dev/crt/src') diff --git a/dev/crt/src/hal/x86/base_alloc.cxx b/dev/crt/src/hal/x86/base_alloc.cxx index c9634dbd..55a53c9d 100644 --- a/dev/crt/src/hal/x86/base_alloc.cxx +++ b/dev/crt/src/hal/x86/base_alloc.cxx @@ -20,7 +20,7 @@ void* operator new(size_t length) : "=r"(ptr)); if (!ptr) - std::__throw_bad_alloc(); + std::__throw_bad_alloc(); return ptr; } @@ -35,7 +35,7 @@ void* operator new[](size_t length) : "=r"(ptr)); if (!ptr) - std::__throw_bad_alloc(); + std::__throw_bad_alloc(); return ptr; } -- cgit v1.2.3