Skip to content

Commit

Permalink
userinit: Print startup message
Browse files Browse the repository at this point in the history
Use the console support to print a startup message from the init
process.

Signed-off-by: Joerg Roedel <[email protected]>
  • Loading branch information
joergroedel committed Dec 11, 2024
1 parent f0804c0 commit 17961d6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions user/init/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ fn write(arr: &mut [u64; 128], val: u64) {
declare_main!(main);

fn main() -> u32 {
println!("COCONUT-SVSM init process starting");

// SAFETY: Single-threaded process, so no data races. Safe to access global
// mutable data.
unsafe {
Expand Down

0 comments on commit 17961d6

Please sign in to comment.