diff options
| author | Amlal EL Mahrouss <amlalelmahrouss@icloud.com> | 2024-07-31 00:13:51 +0200 |
|---|---|---|
| committer | Amlal EL Mahrouss <amlalelmahrouss@icloud.com> | 2024-07-31 00:13:51 +0200 |
| commit | 3bfb95803ba25a04ddb57ebbc0f25e4dec29d7e0 (patch) | |
| tree | 94fc17899142c1631797b9b6257b04359282741b /Kernel/HALKit/ARM64 | |
| parent | 659435af7da4ffb15a309063c892b518707fa9d0 (diff) | |
[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 <amlalelmahrouss@icloud.com>
Diffstat (limited to 'Kernel/HALKit/ARM64')
| -rw-r--r-- | Kernel/HALKit/ARM64/HalHart.cxx | 4 | ||||
| -rw-r--r-- | Kernel/HALKit/ARM64/HalKernelMain.cxx | 2 |
2 files changed, 3 insertions, 3 deletions
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 { |
