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 7dbe95c4ae83a20014d3292fd01419ffe0b539a3..e684ec045b614f7b8f516b7bee0d194fb7b0f3ef 100644 --- a/src/main.rs +++ b/src/main.rs @@ -44,6 +44,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()); @@ -60,7 +61,7 @@ fn kernel_main() -> ! { #[cfg(test)] test_main(); - debug!("{}", arch::rng_seed()); + debug!("RNG Seed {}", arch::rng_seed()); smp::init(); }