diff options
Diffstat (limited to 'Private/HALKit/PowerPC')
| -rw-r--r-- | Private/HALKit/PowerPC/HalCoreSyscallHandlerPowerPC.cpp | 6 | ||||
| -rw-r--r-- | Private/HALKit/PowerPC/HalHardware.cxx | 4 | ||||
| -rw-r--r-- | Private/HALKit/PowerPC/HalThread.cxx | 2 | ||||
| -rw-r--r-- | Private/HALKit/PowerPC/Processor.hpp | 8 |
4 files changed, 10 insertions, 10 deletions
diff --git a/Private/HALKit/PowerPC/HalCoreSyscallHandlerPowerPC.cpp b/Private/HALKit/PowerPC/HalCoreSyscallHandlerPowerPC.cpp index eac04e47..322cb604 100644 --- a/Private/HALKit/PowerPC/HalCoreSyscallHandlerPowerPC.cpp +++ b/Private/HALKit/PowerPC/HalCoreSyscallHandlerPowerPC.cpp @@ -7,12 +7,12 @@ #include <ArchKit/ArchKit.hpp> #include <NewKit/Array.hpp> -HCore::Array<void (*)(HCore::Int32 id, HCore::HAL::StackFrame *), +NewOS::Array<void (*)(NewOS::Int32 id, NewOS::HAL::StackFrame *), kKernelMaxSystemCalls> kSyscalls; -extern "C" void rt_syscall_handle(HCore::HAL::StackFrame *stack) { - for (HCore::SizeT index = 0UL; index < kKernelMaxSystemCalls; ++index) { +extern "C" void rt_syscall_handle(NewOS::HAL::StackFrame *stack) { + for (NewOS::SizeT index = 0UL; index < kKernelMaxSystemCalls; ++index) { (kSyscalls[index].Leak().Leak())(stack->ID, stack); } } diff --git a/Private/HALKit/PowerPC/HalHardware.cxx b/Private/HALKit/PowerPC/HalHardware.cxx index 49e85138..9fc278a6 100644 --- a/Private/HALKit/PowerPC/HalHardware.cxx +++ b/Private/HALKit/PowerPC/HalHardware.cxx @@ -7,7 +7,7 @@ #include <HALKit/PowerPC/Processor.hpp> #include <KernelKit/DebugOutput.hpp> -namespace HCore { +namespace NewOS { namespace HAL { UIntPtr hal_alloc_page(bool rw, bool user) { return 0; } } // namespace HAL @@ -31,4 +31,4 @@ void ke_com_print(const Char* bytes) { ++index; } } -} // namespace HCore +} // namespace NewOS diff --git a/Private/HALKit/PowerPC/HalThread.cxx b/Private/HALKit/PowerPC/HalThread.cxx index 585ae706..af8bcc6f 100644 --- a/Private/HALKit/PowerPC/HalThread.cxx +++ b/Private/HALKit/PowerPC/HalThread.cxx @@ -10,4 +10,4 @@ extern "C" void hal_flush_tlb() {} extern "C" void rt_wait_400ns() {} -extern "C" HCore::HAL::StackFramePtr rt_get_current_context() { return nullptr; } +extern "C" NewOS::HAL::StackFramePtr rt_get_current_context() { return nullptr; } diff --git a/Private/HALKit/PowerPC/Processor.hpp b/Private/HALKit/PowerPC/Processor.hpp index e5f04455..be929fd7 100644 --- a/Private/HALKit/PowerPC/Processor.hpp +++ b/Private/HALKit/PowerPC/Processor.hpp @@ -11,7 +11,7 @@ #define __aligned __attribute__((aligned(4))) -namespace HCore::HAL { +namespace NewOS::HAL { typedef UIntPtr Reg; struct __aligned StackFrame { @@ -34,8 +34,8 @@ inline void rt_halt() { } inline void rt_cli() {} -} // namespace HCore::HAL +} // namespace NewOS::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(NewOS::UIntPtr sp); +extern "C" void int_handle_pf(NewOS::UIntPtr sp); extern "C" void* __ppc_alloca(size_t sz); |
