From 2451ac62d57a5f74ceaa72eb921af42bc848fac3 Mon Sep 17 00:00:00 2001 From: Joerg Roedel Date: Thu, 5 Dec 2024 14:23:20 +0100 Subject: [PATCH] userinit: Print startup message Use the console support to print a startup message from the init process. Signed-off-by: Joerg Roedel --- user/init/src/main.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/user/init/src/main.rs b/user/init/src/main.rs index 91604013b..1023311b6 100644 --- a/user/init/src/main.rs +++ b/user/init/src/main.rs @@ -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 {