Skip to content

Commit

Permalink
DO NOT MERGE
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Kröning <[email protected]>
  • Loading branch information
mkroening committed Apr 19, 2024
1 parent c7cfb92 commit 3c62032
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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::<i32>()
);
};

extern "C" {
static mut __bss_start: u8;
}
Expand Down

0 comments on commit 3c62032

Please sign in to comment.