diff options
Diffstat (limited to 'Private/ArchKit')
| -rw-r--r-- | Private/ArchKit/Arch.hpp | 14 | ||||
| -rw-r--r-- | Private/ArchKit/SyscallImpl.hpp | 2 |
2 files changed, 8 insertions, 8 deletions
diff --git a/Private/ArchKit/Arch.hpp b/Private/ArchKit/Arch.hpp index 75b5aada..4cfa5e0e 100644 --- a/Private/ArchKit/Arch.hpp +++ b/Private/ArchKit/Arch.hpp @@ -1,7 +1,7 @@ /* * ======================================================== * - * hCore + * HCore * Copyright 2024 Mahrouss Logic, all rights reserved. * * ======================================================== @@ -23,7 +23,7 @@ # error Unknown architecture #endif -namespace hCore +namespace HCore { class SystemCallDefaultImpl final { @@ -72,15 +72,15 @@ namespace hCore } bool init_hal(); -} // namespace hCore +} // namespace HCore #define kMaxSyscalls 0x100 #define kSyscallGate 0x21 -extern hCore::Array<void (*)(hCore::Int32 id, hCore::HAL::StackFrame *), kMaxSyscalls> kSyscalls; +extern HCore::Array<void (*)(HCore::Int32 id, HCore::HAL::StackFrame *), kMaxSyscalls> kSyscalls; extern "C" void rt_wait_for_io(); -extern "C" void rt_syscall_handle(hCore::HAL::StackFrame *stack); -extern "C" hCore::HAL::StackFrame* rt_get_current_context(); -extern "C" int rt_do_context_switch(hCore::HAL::StackFrame* stackLeft, hCore::HAL::StackFrame* stackRight); +extern "C" void rt_syscall_handle(HCore::HAL::StackFrame *stack); +extern "C" HCore::HAL::StackFrame* rt_get_current_context(); +extern "C" int rt_do_context_switch(HCore::HAL::StackFrame* stackLeft, HCore::HAL::StackFrame* stackRight); diff --git a/Private/ArchKit/SyscallImpl.hpp b/Private/ArchKit/SyscallImpl.hpp index 4d8001fb..dcb4991e 100644 --- a/Private/ArchKit/SyscallImpl.hpp +++ b/Private/ArchKit/SyscallImpl.hpp @@ -1,7 +1,7 @@ /* * ======================================================== * - * hCore + * HCore * Copyright 2024 Mahrouss Logic, all rights reserved. * * ======================================================== |
