diff --git a/src/boot/mod.rs b/src/boot/mod.rs index fb80769a21349b4156271995f77cc687f8af263f..4e7b712fdb9b3928bbc69f90747284474fc80b46 100644 --- a/src/boot/mod.rs +++ b/src/boot/mod.rs @@ -4,15 +4,19 @@ use spin::Once; #[cfg(feature = "multiboot1")] #[path = "multiboot1/mod.rs"] +#[allow(clippy::module_inception)] mod boot; #[cfg(feature = "multiboot2")] #[path = "multiboot2/mod.rs"] +#[allow(clippy::module_inception)] mod boot; #[cfg(feature = "bootboot")] #[path = "bootboot/mod.rs"] +#[allow(clippy::module_inception)] mod boot; #[cfg(feature = "limine")] #[path = "limine/mod.rs"] +#[allow(clippy::module_inception)] mod boot; // diff --git a/src/main.rs b/src/main.rs index f4781412296fc0c9cbc5405d39ccba062380f062..640553e533f2a9c91a3c07645806dd34ee243380 100644 --- a/src/main.rs +++ b/src/main.rs @@ -45,6 +45,7 @@ pub static KERNEL_VERS: &str = env!("CARGO_PKG_VERSION"); // +// the actual entry exists in [´crate::boot::boot´] fn kernel_main() -> ! { debug!("Entering kernel_main"); debug!("Cmdline: {:?}", env::Arguments::get()); @@ -61,7 +62,7 @@ fn kernel_main() -> ! { #[cfg(test)] test_main(); - debug!("{}", arch::rng_seed()); + debug!("RNG Seed {}", arch::rng_seed()); smp::init(); }