summaryrefslogtreecommitdiffhomepage
path: root/Private/ArchKit
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlalelmahrouss@icloud.com>2024-02-02 14:26:01 +0100
committerAmlal El Mahrouss <amlalelmahrouss@icloud.com>2024-02-02 14:26:01 +0100
commit800977c96cd64b3beeccaa7d373daed3987b1c2a (patch)
treed97b5788f92b416f8f7f386ed9f179ab792b6f72 /Private/ArchKit
parente559cf01834340d0a4dfcb45f7bdf081e8994032 (diff)
Kernel: Improvements and fixes regarding the VMMers and assembly code.
Signed-off-by: Amlal El Mahrouss <amlalelmahrouss@icloud.com>
Diffstat (limited to 'Private/ArchKit')
-rw-r--r--Private/ArchKit/ArchKit.hpp (renamed from Private/ArchKit/Arch.hpp)5
-rw-r--r--Private/ArchKit/SyscallImpl.hpp3
2 files changed, 7 insertions, 1 deletions
diff --git a/Private/ArchKit/Arch.hpp b/Private/ArchKit/ArchKit.hpp
index 4216f9b3..eefd6f5f 100644
--- a/Private/ArchKit/Arch.hpp
+++ b/Private/ArchKit/ArchKit.hpp
@@ -84,3 +84,8 @@ extern "C" void rt_syscall_handle(HCore::HAL::StackFrame* stackFrame);
extern "C" HCore::HAL::StackFrame* rt_get_current_context();
extern "C" int rt_do_context_switch(HCore::HAL::StackFrame* stackFrame);
+inline HCore::VoidPtr kKernelVirtualStart;
+inline HCore::UIntPtr kKernelVirtualSize;
+
+inline HCore::VoidPtr kKernelPhysicalStart;
+inline HCore::UIntPtr kKernelPhysicalSize;
diff --git a/Private/ArchKit/SyscallImpl.hpp b/Private/ArchKit/SyscallImpl.hpp
index 7d379197..26acdd38 100644
--- a/Private/ArchKit/SyscallImpl.hpp
+++ b/Private/ArchKit/SyscallImpl.hpp
@@ -9,4 +9,5 @@
#pragma once
-#include <ArchKit/Arch.hpp> \ No newline at end of file
+#include <ArchKit/ArchKit.hpp>
+