diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2025-12-20 11:28:39 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@nekernel.org> | 2025-12-20 11:28:39 +0100 |
| commit | 35b6093dad9035a36af3171982b914a89335d452 (patch) | |
| tree | 1b6e847e8efffe04c9f741b2ab06f15e4e4d3987 /src/kernel/HALKit/AMD64/HalKernelMain.cc | |
| parent | d0fb2f563bf93917d31e5c589a3896fe17e21993 (diff) | |
chore: kernel: apply vettable pattern to process structure.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'src/kernel/HALKit/AMD64/HalKernelMain.cc')
| -rw-r--r-- | src/kernel/HALKit/AMD64/HalKernelMain.cc | 7 |
1 files changed, 3 insertions, 4 deletions
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 <misc/BenchKit/HWChronometer.h> #include <modules/ACPI/ACPIFactoryInterface.h> #include <modules/CoreGfx/TextGfx.h> -#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); |
