From 3c620325769e3498f58d95399b9f7bc4c0b9b4ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Kr=C3=B6ning?= Date: Fri, 19 Apr 2024 13:38:23 +0200 Subject: [PATCH] DO NOT MERGE MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Martin Kröning --- src/lib.rs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/lib.rs b/src/lib.rs index 0e8992a1ac..729b9e4326 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -205,6 +205,13 @@ fn boot_processor_main() -> ! { info!("Welcome to Hermit {}", env!("CARGO_PKG_VERSION")); info!("Kernel starts at {:p}", env::get_base_address()); + unsafe { + println!( + "Oh no, some uninit memory: {}", + core::mem::uninitialized::() + ); + }; + extern "C" { static mut __bss_start: u8; }