From cba3d0b854a1a9fbb0b0c82efb858fa9086b7284 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Tue, 27 May 2025 15:09:30 +0200 Subject: fix: DBG_TRAP being called before IDT is setup. refactor: rename HalSyscallEntry to HAL_DISPATCH_ENTRY. also: - Better hashing function in ArchKit: Signed-off-by: Amlal El Mahrouss --- dev/kernel/HALKit/AMD64/HalKernelMain.cc | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'dev/kernel/HALKit/AMD64/HalKernelMain.cc') diff --git a/dev/kernel/HALKit/AMD64/HalKernelMain.cc b/dev/kernel/HALKit/AMD64/HalKernelMain.cc index edbe058a..97043227 100644 --- a/dev/kernel/HALKit/AMD64/HalKernelMain.cc +++ b/dev/kernel/HALKit/AMD64/HalKernelMain.cc @@ -146,17 +146,11 @@ EXTERN_C Kernel::Void hal_real_init(Kernel::Void) noexcept { HAL::mp_init_cores(kHandoverHeader->f_HardwareTables.f_VendorPtr); #ifdef __FSKIT_INCLUDES_HEFS__ - if (!HeFS::fs_init_hefs()) { - kout << "HeFS cannot be formated on disk. Aborting\r"; - DBG_TRAP(); - } + HeFS::fs_init_hefs(); #endif #ifdef __FSKIT_INCLUDES_NEFS__ - if (!NeFS::fs_init_nefs()) { - kout << "NeFS cannot be formated on disk. Aborting\r"; - DBG_TRAP(); - } + NeFS::fs_init_nefs(); #endif HAL::Register64 idt_reg; -- cgit v1.2.3