summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2026-04-04 20:13:28 +0200
committerGitHub <noreply@github.com>2026-04-04 20:13:28 +0200
commit3b6a111ea3e9c1c710588c542dbdef8ad49d423d (patch)
treeb55936622759069b37d8435cd5be2954785b1cd9
parent36840c4ba060e9acf220d2032b6c71ccea6abcdd (diff)
[CHORE] API cleanup, and HalKernelMain cleanup for AMD64.HEADdevelop
-rw-r--r--public/frameworks/LaunchHelpers.fwrk/headers/Foundation.h4
-rw-r--r--src/kernel/HALKit/AMD64/HalKernelMain.cpp9
2 files changed, 2 insertions, 11 deletions
diff --git a/public/frameworks/LaunchHelpers.fwrk/headers/Foundation.h b/public/frameworks/LaunchHelpers.fwrk/headers/Foundation.h
index 2b45903d..85cdbdb9 100644
--- a/public/frameworks/LaunchHelpers.fwrk/headers/Foundation.h
+++ b/public/frameworks/LaunchHelpers.fwrk/headers/Foundation.h
@@ -3,8 +3,8 @@
// Licensed under the Apache License, Version 2.0 (see LICENSE file)
// Official repository: https://github.com/ne-foss-org/nekernel
-#ifndef FW_HEADERS_FOUNDATION_H
-#define FW_HEADERS_FOUNDATION_H
+#ifndef FW_HEADERS_LAUNCH_FOUNDATION_H
+#define FW_HEADERS_LAUNCH_FOUNDATION_H
#include <CoreFoundation.fwrk/headers/Foundation.h>
#include <CoreFoundation.fwrk/headers/String.h>
diff --git a/src/kernel/HALKit/AMD64/HalKernelMain.cpp b/src/kernel/HALKit/AMD64/HalKernelMain.cpp
index 97102865..2c454e20 100644
--- a/src/kernel/HALKit/AMD64/HalKernelMain.cpp
+++ b/src/kernel/HALKit/AMD64/HalKernelMain.cpp
@@ -18,9 +18,6 @@
#include <modules/ACPI/ACPIFactoryInterface.h>
#include <modules/CoreGfx/TextGfx.h>
-#include <BootKit/Shared/BootImg.rsrc>
-#include "NeKit/KernelPanic.h"
-
#ifndef __NE_MODULAR_KERNEL_COMPONENTS__
EXTERN_C Kernel::VoidPtr kInterruptVectorTable[];
@@ -157,12 +154,6 @@ EXTERN_C Kernel::Void hal_real_init(Kernel::Void) {
NeFileSystemMgr::Mount(new NeFileSystemMgr());
#endif
- for (SizeT idxCore{0}; idxCore < kHandoverHeader->f_NumberOfProcessors; ++idxCore) {
- cg_init();
- FBDrawBitMapInRegion(kBootLogo, BOOT_LOGO_WIDTH, BOOT_LOGO_HEIGHT, 10, 12 + BOOT_LOGO_WIDTH * idxCore);
- cg_clear();
- }
-
UserProcessScheduler::The().SwitchTeam(kRTUserTeam);
PEFLoader ldr("/system/init.out");