diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2025-03-28 19:57:33 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@nekernel.org> | 2025-03-28 19:57:33 +0100 |
| commit | ba7b3ed69cd24970a28b72c54982735cd120e663 (patch) | |
| tree | 934b7645435ab1bfd2d8eb99fa861fc09e3dd5b4 /dev/kernel/HALKit/POWER/HalAP.cc | |
| parent | 2205e801a6e84238dc8cbbb8f9de5a675eae1d81 (diff) | |
kernel: breaking: Change namespace from NeOS to Kernel.
sched: Fix redundancy in NeKernel's user scheduler macros, refactored
the other files using the redundant macros too.
part one of a series of commit for NeKernel.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'dev/kernel/HALKit/POWER/HalAP.cc')
| -rw-r--r-- | dev/kernel/HALKit/POWER/HalAP.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/dev/kernel/HALKit/POWER/HalAP.cc b/dev/kernel/HALKit/POWER/HalAP.cc index 32f91a5f..00112702 100644 --- a/dev/kernel/HALKit/POWER/HalAP.cc +++ b/dev/kernel/HALKit/POWER/HalAP.cc @@ -8,16 +8,16 @@ #include <KernelKit/DebugOutput.h> #include <HALKit/POWER/AP.h> -using namespace NeOS; +using namespace Kernel; -namespace NeOS::Detail +namespace Kernel::Detail { STATIC void mp_hang_fn(void) { while (YES) ; } -} // namespace NeOS::Detail +} // namespace Kernel::Detail /// @brief wakes up thread. /// wakes up thread from hang. @@ -36,5 +36,5 @@ void mp_hang_thread(HAL::StackFramePtr stack) if (!stack) return; - hal_set_pc_to_hart(reinterpret_cast<HAL_HARDWARE_THREAD*>(stack->R15), reinterpret_cast<VoidPtr>(NeOS::Detail::mp_hang_fn)); + hal_set_pc_to_hart(reinterpret_cast<HAL_HARDWARE_THREAD*>(stack->R15), reinterpret_cast<VoidPtr>(Kernel::Detail::mp_hang_fn)); } |
