From 91c88797f7fa9dbb6cce12c14928a6fbd97d51b6 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Sun, 25 Feb 2024 18:19:19 +0100 Subject: Kernel: Did progress on interrupts, moved kernel main to HAL, as the code here is very specific. Signed-off-by: Amlal El Mahrouss --- Private/ArchKit/ArchKit.hpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'Private/ArchKit') diff --git a/Private/ArchKit/ArchKit.hpp b/Private/ArchKit/ArchKit.hpp index 15f5a5e7..a96846f4 100644 --- a/Private/ArchKit/ArchKit.hpp +++ b/Private/ArchKit/ArchKit.hpp @@ -55,11 +55,10 @@ constexpr static inline SSizeT syscall_hash(const char *seed, int mul) { bool ke_init_hal(); } // namespace HCore -#define kMaxSyscalls (0xFFFF) -#define kSyscallGate 0x21 +#define kKernelMaxSystemCalls (0xFFF) extern HCore::Array + kKernelMaxSystemCalls> kSyscalls; EXTERN_C HCore::Void rt_wait_for_io(); -- cgit v1.2.3