diff options
| author | Amlal El Mahrouss <amlal@el-mahrouss-logic.com> | 2024-04-05 01:59:36 +0200 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@el-mahrouss-logic.com> | 2024-04-05 02:01:15 +0200 |
| commit | 21fe8d0b7d48e92ba0d45c084bf868c94bb67cd7 (patch) | |
| tree | 4193f80c02ce03b2e02d6c2ef1a1a0526ea7b8fc /Private/HALKit/PowerPC/HalCoreSyscallHandlerPowerPC.cpp | |
| parent | a45872967f07906297782cd04223706cfc326219 (diff) | |
HAL/PPC: Adding support for PowerPC, implemented rt_do_context_switch.
Refactor: Everything which starts with HCORE_ is NEWOS_ now.
Signed-off-by: Amlal El Mahrouss <amlal@el-mahrouss-logic.com>
Diffstat (limited to 'Private/HALKit/PowerPC/HalCoreSyscallHandlerPowerPC.cpp')
| -rw-r--r-- | Private/HALKit/PowerPC/HalCoreSyscallHandlerPowerPC.cpp | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/Private/HALKit/PowerPC/HalCoreSyscallHandlerPowerPC.cpp b/Private/HALKit/PowerPC/HalCoreSyscallHandlerPowerPC.cpp deleted file mode 100644 index 322cb604..00000000 --- a/Private/HALKit/PowerPC/HalCoreSyscallHandlerPowerPC.cpp +++ /dev/null @@ -1,18 +0,0 @@ -/* ------------------------------------------- - - Copyright Mahrouss Logic - -------------------------------------------- */ - -#include <ArchKit/ArchKit.hpp> -#include <NewKit/Array.hpp> - -NewOS::Array<void (*)(NewOS::Int32 id, NewOS::HAL::StackFrame *), - kKernelMaxSystemCalls> - kSyscalls; - -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); - } -} |
