diff options
| author | Amlal El Mahrouss <amlalelmahrouss@icloud.com> | 2024-02-25 18:19:19 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlalelmahrouss@icloud.com> | 2024-02-25 18:19:41 +0100 |
| commit | 91c88797f7fa9dbb6cce12c14928a6fbd97d51b6 (patch) | |
| tree | 9dd58ee1e796684e6ec15902d39836e45a1cf054 /Private/ArchKit/ArchKit.hpp | |
| parent | 2bd2e28868d50a2f3ced8b1bfea68216ed35622a (diff) | |
Kernel: Did progress on interrupts, moved kernel main to HAL, as the
code here is very specific.
Signed-off-by: Amlal El Mahrouss <amlalelmahrouss@icloud.com>
Diffstat (limited to 'Private/ArchKit/ArchKit.hpp')
| -rw-r--r-- | Private/ArchKit/ArchKit.hpp | 5 |
1 files changed, 2 insertions, 3 deletions
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<void (*)(HCore::Int32 id, HCore::HAL::StackFrame *), - kMaxSyscalls> + kKernelMaxSystemCalls> kSyscalls; EXTERN_C HCore::Void rt_wait_for_io(); |
