From 35b6093dad9035a36af3171982b914a89335d452 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Sat, 20 Dec 2025 11:28:39 +0100 Subject: chore: kernel: apply vettable pattern to process structure. Signed-off-by: Amlal El Mahrouss --- src/kernel/HALKit/AMD64/HalKernelMain.cc | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/kernel/HALKit') diff --git a/src/kernel/HALKit/AMD64/HalKernelMain.cc b/src/kernel/HALKit/AMD64/HalKernelMain.cc index 7994a017..3a30bb04 100644 --- a/src/kernel/HALKit/AMD64/HalKernelMain.cc +++ b/src/kernel/HALKit/AMD64/HalKernelMain.cc @@ -17,14 +17,13 @@ #include #include #include -#include "NeKit/Config.h" #ifndef __NE_MODULAR_KERNEL_COMPONENTS__ EXTERN_C Kernel::VoidPtr kInterruptVectorTable[]; /// @brief Kernel init function. /// @param handover_hdr Handover boot header. -EXTERN_C Int32 hal_init_platform(Kernel::HEL::BootInfoHeader* handover_hdr) { +EXTERN_C Kernel::Int32 hal_init_platform(Kernel::HEL::BootInfoHeader* handover_hdr) { using namespace Kernel; if (handover_hdr->f_Magic != kHandoverMagic && handover_hdr->f_Version != kHandoverVersion) { @@ -146,12 +145,12 @@ EXTERN_C Kernel::Void hal_real_init(Kernel::Void) { UserProcessScheduler::The().SwitchTeam(kRTUserTeam); // AMLALE: TODO: Prosan, Process sanitizer. - rtl_create_user_process([]() -> void { while (YES); }, "Prosan"); + rtl_create_user_process([]() -> void { while (YES); }, "ProSan"); UserProcessScheduler::The().SwitchTeam(kMidUserTeam); // AMLALE: TODO, Vet sanitizer. - rtl_create_user_process([]() -> void { while (YES); }, "Vetsan"); + rtl_create_user_process([]() -> void { while (YES); }, "VetSan"); HAL::mp_init_cores(kHandoverHeader->f_HardwareTables.f_VendorPtr); -- cgit v1.2.3