diff options
| author | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2024-01-30 08:46:09 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2024-01-30 08:46:09 +0100 |
| commit | d7112cd6909640afd7609b3a142bc6ecf921ee25 (patch) | |
| tree | 55033ad28d58d536c4b3bad715d8635f00773bfd /Private/ArchKit/Arch.hpp | |
| parent | f22e69b8837b84548f79e0b8ca7bef24605c6611 (diff) | |
Kernel: Breaking changes, see source code.
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'Private/ArchKit/Arch.hpp')
| -rw-r--r-- | Private/ArchKit/Arch.hpp | 14 |
1 files changed, 7 insertions, 7 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); |
