From d7112cd6909640afd7609b3a142bc6ecf921ee25 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Tue, 30 Jan 2024 08:46:09 +0100 Subject: Kernel: Breaking changes, see source code. Signed-off-by: Amlal El Mahrouss --- Private/ArchKit/Arch.hpp | 14 +++++++------- Private/ArchKit/SyscallImpl.hpp | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) (limited to 'Private/ArchKit') 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 kSyscalls; +extern HCore::Array 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. * * ======================================================== -- cgit v1.2.3