summaryrefslogtreecommitdiffhomepage
path: root/src/kernel/HALKit/AMD64/HalKernelMain.cpp
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2026-03-16 12:08:15 +0100
committerAmlal El Mahrouss <amlal@nekernel.org>2026-03-16 12:09:13 +0100
commit3f47c53398a2cd10fe1b205e1393c3ceab4c675c (patch)
tree59e3a3ca801f7c7f01b75c4a470af8fe4b8f8309 /src/kernel/HALKit/AMD64/HalKernelMain.cpp
parent35fb9574c5efc426491f7ce55689e0f911890e98 (diff)
[FEAT] Kernel: Finally include the BNID network driver when compiling NeKernel.HEADdevelop
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'src/kernel/HALKit/AMD64/HalKernelMain.cpp')
-rw-r--r--src/kernel/HALKit/AMD64/HalKernelMain.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/kernel/HALKit/AMD64/HalKernelMain.cpp b/src/kernel/HALKit/AMD64/HalKernelMain.cpp
index 7468b76d..57f980c6 100644
--- a/src/kernel/HALKit/AMD64/HalKernelMain.cpp
+++ b/src/kernel/HALKit/AMD64/HalKernelMain.cpp
@@ -133,6 +133,8 @@ EXTERN_C Kernel::Int32 hal_init_platform(Kernel::HEL::BootInfoHeader* handover_h
return kEfiFail;
}
+EXTERN_C BOOL rtl_init_nic_rtl8139();
+
EXTERN_C Kernel::Void hal_real_init(Kernel::Void) {
HAL::mp_init_cores(kHandoverHeader->f_HardwareTables.f_VendorPtr);
@@ -161,6 +163,10 @@ EXTERN_C Kernel::Void hal_real_init(Kernel::Void) {
UserProcessScheduler::The().SwitchTeam(kMidUserTeam);
+#ifdef __HALKIT_INCLUDES_BNID__
+ rtl_init_nic_rtl8139();
+#endif
+
while (YES);
}
#endif // ifndef __NE_MODULAR_KERNEL_COMPONENTS__