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/ArchKit/ArchKit.h | |
| 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/ArchKit/ArchKit.h')
| -rw-r--r-- | dev/kernel/ArchKit/ArchKit.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/dev/kernel/ArchKit/ArchKit.h b/dev/kernel/ArchKit/ArchKit.h index 04fc5bf6..76e62a4e 100644 --- a/dev/kernel/ArchKit/ArchKit.h +++ b/dev/kernel/ArchKit/ArchKit.h @@ -28,7 +28,7 @@ #define kKernelMaxSystemCalls (512U) -namespace NeOS +namespace Kernel { inline SSizeT rt_hash_seed(const Char* seed, int mul) { @@ -67,14 +67,14 @@ namespace NeOS { auto mm_is_bitmap(VoidPtr ptr) -> Bool; } -} // namespace NeOS +} // namespace Kernel -typedef NeOS::Void (*rt_syscall_proc)(NeOS::VoidPtr); +typedef Kernel::Void (*rt_syscall_proc)(Kernel::VoidPtr); struct HalSyscallEntry final { - NeOS::Int64 fHash; - NeOS::Bool fHooked; + Kernel::Int64 fHash; + Kernel::Bool fHooked; rt_syscall_proc fProc; operator bool() @@ -83,12 +83,12 @@ struct HalSyscallEntry final } }; -inline NeOS::Array<HalSyscallEntry, +inline Kernel::Array<HalSyscallEntry, kKernelMaxSystemCalls> kSyscalls; -inline NeOS::Array<HalSyscallEntry, +inline Kernel::Array<HalSyscallEntry, kKernelMaxSystemCalls> kKerncalls; -EXTERN_C NeOS::HAL::StackFramePtr mp_get_current_context(NeOS::Int64 pid); +EXTERN_C Kernel::HAL::StackFramePtr mp_get_current_context(Kernel::Int64 pid); |
