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/HALKit/PowerPC | |
| parent | f22e69b8837b84548f79e0b8ca7bef24605c6611 (diff) | |
Kernel: Breaking changes, see source code.
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'Private/HALKit/PowerPC')
| -rw-r--r-- | Private/HALKit/PowerPC/CoreContextSwitchPowerPC.s | 2 | ||||
| -rw-r--r-- | Private/HALKit/PowerPC/CoreSyscallHandlerPowerPC.cpp | 8 | ||||
| -rw-r--r-- | Private/HALKit/PowerPC/Processor.cpp | 10 | ||||
| -rw-r--r-- | Private/HALKit/PowerPC/Processor.hpp | 10 |
4 files changed, 15 insertions, 15 deletions
diff --git a/Private/HALKit/PowerPC/CoreContextSwitchPowerPC.s b/Private/HALKit/PowerPC/CoreContextSwitchPowerPC.s index a33ff931..04a0cbbf 100644 --- a/Private/HALKit/PowerPC/CoreContextSwitchPowerPC.s +++ b/Private/HALKit/PowerPC/CoreContextSwitchPowerPC.s @@ -1,7 +1,7 @@ /* * ======================================================== * - * hCore + * HCore * Copyright 2024 Mahrouss Logic, all rights reserved. * * ======================================================== diff --git a/Private/HALKit/PowerPC/CoreSyscallHandlerPowerPC.cpp b/Private/HALKit/PowerPC/CoreSyscallHandlerPowerPC.cpp index ee300501..6985f964 100644 --- a/Private/HALKit/PowerPC/CoreSyscallHandlerPowerPC.cpp +++ b/Private/HALKit/PowerPC/CoreSyscallHandlerPowerPC.cpp @@ -1,7 +1,7 @@ /* * ======================================================== * - * hCore + * HCore * Copyright 2024 Mahrouss Logic, all rights reserved. * * ======================================================== @@ -10,11 +10,11 @@ #include <ArchKit/Arch.hpp> #include <NewKit/Array.hpp> -hCore::Array<void (*)(hCore::Int32 id, hCore::HAL::StackFrame *), kMaxSyscalls> +HCore::Array<void (*)(HCore::Int32 id, HCore::HAL::StackFrame *), kMaxSyscalls> kSyscalls; -extern "C" void rt_syscall_handle(hCore::HAL::StackFrame *stack) { - for (hCore::SizeT index = 0UL; index < kMaxSyscalls; ++index) { +extern "C" void rt_syscall_handle(HCore::HAL::StackFrame *stack) { + for (HCore::SizeT index = 0UL; index < kMaxSyscalls; ++index) { (kSyscalls[index].Leak().Leak())(stack->ID, stack); } } diff --git a/Private/HALKit/PowerPC/Processor.cpp b/Private/HALKit/PowerPC/Processor.cpp index e3b207c6..9ac0953e 100644 --- a/Private/HALKit/PowerPC/Processor.cpp +++ b/Private/HALKit/PowerPC/Processor.cpp @@ -1,7 +1,7 @@ /* * ======================================================== * - * hCore + * HCore * Copyright 2024 Mahrouss Logic, all rights reserved. * * ======================================================== @@ -12,9 +12,9 @@ extern "C" void flush_tlb() {} extern "C" void rt_wait_for_io() {} -extern "C" hCore::HAL::StackFrame* rt_get_current_context() {} +extern "C" HCore::HAL::StackFrame* rt_get_current_context() {} -namespace hCore { +namespace HCore { namespace HAL { UIntPtr hal_create_page(bool rw, bool user) { return 0; } @@ -44,5 +44,5 @@ void system_io_print(const char* bytes) { } } -TerminalDevice kcout(hCore::system_io_print, nullptr); -} // namespace hCore +TerminalDevice kcout(HCore::system_io_print, nullptr); +} // namespace HCore diff --git a/Private/HALKit/PowerPC/Processor.hpp b/Private/HALKit/PowerPC/Processor.hpp index 5fc0dcb2..a29454c9 100644 --- a/Private/HALKit/PowerPC/Processor.hpp +++ b/Private/HALKit/PowerPC/Processor.hpp @@ -1,7 +1,7 @@ /* * ======================================================== * - * hCore + * HCore * Copyright 2024 Mahrouss Logic, all rights reserved. * * ======================================================== @@ -14,7 +14,7 @@ #define __aligned __attribute__((aligned(4))) -namespace hCore::HAL { +namespace HCore::HAL { typedef UIntPtr Reg; struct __aligned StackFrame { @@ -37,8 +37,8 @@ inline void rt_halt() { } inline void rt_cli() {} -} // namespace hCore::HAL +} // namespace HCore::HAL -extern "C" void int_handle_math(hCore::UIntPtr sp); -extern "C" void int_handle_pf(hCore::UIntPtr sp); +extern "C" void int_handle_math(HCore::UIntPtr sp); +extern "C" void int_handle_pf(HCore::UIntPtr sp); extern "C" void* __ppc_alloca(size_t sz); |
