From 3bfb95803ba25a04ddb57ebbc0f25e4dec29d7e0 Mon Sep 17 00:00:00 2001 From: Amlal EL Mahrouss Date: Wed, 31 Jul 2024 00:13:51 +0200 Subject: [IMP] Can now pass arguments to kernel via handover, new version 0x0113. [IMP] Timeout functions for heap allocation. [IMP] new mp_ and sched_ category of functions. Signed-off-by: Amlal EL Mahrouss --- Kernel/HALKit/ARM64/HalHart.cxx | 4 ++-- Kernel/HALKit/ARM64/HalKernelMain.cxx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'Kernel/HALKit/ARM64') diff --git a/Kernel/HALKit/ARM64/HalHart.cxx b/Kernel/HALKit/ARM64/HalHart.cxx index d7a34505..2ed87b91 100644 --- a/Kernel/HALKit/ARM64/HalHart.cxx +++ b/Kernel/HALKit/ARM64/HalHart.cxx @@ -12,14 +12,14 @@ namespace Kernel { /// @brief wakes up thread. /// wakes up thread from hang. - void rt_wakeup_thread(HAL::StackFrame* stack) + void mp_wakeup_thread(HAL::StackFrame* stack) { rt_do_context_switch(stack); } /// @brief makes the thread sleep on a loop. /// hooks and hangs thread to prevent code from executing. - void rt_hang_thread(HAL::StackFrame* stack) + void mp_hang_thread(HAL::StackFrame* stack) { while (true) { diff --git a/Kernel/HALKit/ARM64/HalKernelMain.cxx b/Kernel/HALKit/ARM64/HalKernelMain.cxx index a5285f0f..0d6a8ca5 100644 --- a/Kernel/HALKit/ARM64/HalKernelMain.cxx +++ b/Kernel/HALKit/ARM64/HalKernelMain.cxx @@ -150,7 +150,7 @@ EXTERN_C void hal_init_platform( if (!rdxEi) return; - rdxEi->fCode = Kernel::rt_get_exit_code(); + rdxEi->fCode = Kernel::sched_get_exit_code(); }; kSyscalls[cRebootInterrupt].Leak().Leak()->fProc = [](Kernel::VoidPtr rdx) -> void { -- cgit v1.2.3