From 94d23a6a47d3d559dc06c1344238543dc0963cd4 Mon Sep 17 00:00:00 2001 From: Berkus Decker Date: Mon, 10 Jul 2023 02:13:50 +0300 Subject: [PATCH] =?UTF-8?q?refactor:=20=F0=9F=93=A6=20kernel=5Fmain=20shou?= =?UTF-8?q?ld=20be=20the=20main=20entry=20point?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nucleus/src/main.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/nucleus/src/main.rs b/nucleus/src/main.rs index a1f9c04..faa30fe 100644 --- a/nucleus/src/main.rs +++ b/nucleus/src/main.rs @@ -38,7 +38,7 @@ use { }, }; -entry!(kmain); +entry!(kernel_main); #[cfg(not(test))] #[panic_handler] @@ -119,8 +119,8 @@ fn init_uart_serial() { /// Kernel entry point. /// `arch` crate is responsible for calling it. -#[inline] -pub fn kmain() -> ! { +// #[inline] +pub fn kernel_main() -> ! { #[cfg(feature = "jtag")] machine::arch::jtag::wait_debugger();