diff --git a/services/benchmark-target/src/main.rs b/services/benchmark-target/src/main.rs index a22d3dbe4..5f27941b6 100644 --- a/services/benchmark-target/src/main.rs +++ b/services/benchmark-target/src/main.rs @@ -11,6 +11,7 @@ use log::{error, info}; #[xous::xous_main] fn xmain() -> ! { log_server::init_wait().unwrap(); + info!("BENCHTARGET: my PID is {}", xous::process::id()); let bench_sid = xous_names::register_name(xous::names::SERVER_NAME_BENCHMARK).expect("BENCHTARGET: can't register server"); info!("BENCHTARGET: registered with NS -- {:?}", bench_sid); diff --git a/services/benchmark/src/main.rs b/services/benchmark/src/main.rs index d770e9850..25ae086ea 100644 --- a/services/benchmark/src/main.rs +++ b/services/benchmark/src/main.rs @@ -90,6 +90,7 @@ fn stopwatch_thread(_arg: xous::SID) { #[xous::xous_main] fn shell_main() -> ! { log_server::init_wait().unwrap(); + info!("BENCHMARK: my PID is {}", xous::process::id()); info!("BENCHMARK: ticktimer"); let ticktimer_server_id = xous::SID::from_bytes(b"ticktimer-server").unwrap(); diff --git a/services/com/src/main.rs b/services/com/src/main.rs index 6ca10e07f..19de8445e 100644 --- a/services/com/src/main.rs +++ b/services/com/src/main.rs @@ -244,6 +244,7 @@ fn xmain() -> ! { use rkyv::{archived_value_mut, Unarchive}; log_server::init_wait().unwrap(); + info!("COM: my PID is {}", xous::process::id()); let com_sid = xous_names::register_name(xous::names::SERVER_NAME_COM).expect("COM: can't register server"); info!("COM: registered with NS -- {:?}", com_sid); diff --git a/services/fcc-agent/src/main.rs b/services/fcc-agent/src/main.rs index 4863827d3..b2c2af606 100644 --- a/services/fcc-agent/src/main.rs +++ b/services/fcc-agent/src/main.rs @@ -448,6 +448,7 @@ pub union sl_wfx_indication_data_u { #[xous::xous_main] fn xmain() -> ! { log_server::init_wait().unwrap(); + print!("FCCAGENT: my PID is {}", xous::process::id()); let ticktimer_server_id = xous::SID::from_bytes(b"ticktimer-server").unwrap(); let ticktimer_conn = xous::connect(ticktimer_server_id).unwrap(); diff --git a/services/gam/src/main.rs b/services/gam/src/main.rs index 807c23658..25b8a953f 100644 --- a/services/gam/src/main.rs +++ b/services/gam/src/main.rs @@ -137,6 +137,7 @@ fn tv_draw(gfx_conn: xous::CID, trng_conn: xous::CID, canvases: &mut FnvIndexMap #[xous::xous_main] fn xmain() -> ! { log_server::init_wait().unwrap(); + info!("GAM: my PID is {}", xous::process::id()); let gam_sid = xous_names::register_name(xous::names::SERVER_NAME_GAM).expect("GAM: can't register server"); info!("GAM: starting up..."); diff --git a/services/graphics-server/src/main.rs b/services/graphics-server/src/main.rs index 33596b331..c63013df3 100644 --- a/services/graphics-server/src/main.rs +++ b/services/graphics-server/src/main.rs @@ -30,6 +30,7 @@ fn draw_boot_logo(display: &mut XousDisplay) { #[xous::xous_main] fn xmain() -> ! { log_server::init_wait().unwrap(); + info!("GFX: my PID is {}", xous::process::id()); // Create a new monochrome simulator display. let mut display = XousDisplay::new(); diff --git a/services/keyboard/src/main.rs b/services/keyboard/src/main.rs index ba7795949..c1c16260d 100644 --- a/services/keyboard/src/main.rs +++ b/services/keyboard/src/main.rs @@ -797,6 +797,7 @@ fn xmain() -> ! { use crate::implementation::Keyboard; log_server::init_wait().unwrap(); + info!("KBD: my PID is {}", xous::process::id()); let kbd_sid = xous_names::register_name(xous::names::SERVER_NAME_KBD).expect("KBD: can't register server"); info!("KBD: registered with NS -- {:?}", kbd_sid); diff --git a/services/llio/src/main.rs b/services/llio/src/main.rs index de1038ca2..6bc53c976 100644 --- a/services/llio/src/main.rs +++ b/services/llio/src/main.rs @@ -347,6 +347,7 @@ fn xmain() -> ! { use heapless::consts::*; log_server::init_wait().unwrap(); + info!("LLIO: my PID is {}", xous::process::id()); let llio_sid = xous_names::register_name(xous::names::SERVER_NAME_LLIO).expect("LLIO: can't register server"); info!("LLIO: registered with NS -- {:?}", llio_sid); diff --git a/services/log-server/src/main.rs b/services/log-server/src/main.rs index 64b7a2db4..abdc1df51 100644 --- a/services/log-server/src/main.rs +++ b/services/log-server/src/main.rs @@ -329,6 +329,7 @@ fn some_main() -> ! { let mut output = implementation::init(); let writer = output.get_writer(); + println!("LOG: my PID is {}", xous::process::id()); println!("LOG: Creating the reader thread"); xous::create_thread_simple(reader_thread, writer).unwrap(); println!("LOG: Running the output"); diff --git a/services/shell/src/main.rs b/services/shell/src/main.rs index 7337de3c0..d4dd166e9 100644 --- a/services/shell/src/main.rs +++ b/services/shell/src/main.rs @@ -155,8 +155,8 @@ fn event_thread(_arg: usize) { #[xous::xous_main] fn shell_main() -> ! { log_server::init_wait().unwrap(); + info!("SHELL: my PID is {}", xous::process::id()); - info!("SHELL: ticktimer"); let ticktimer_server_id = xous::SID::from_bytes(b"ticktimer-server").unwrap(); let ticktimer_conn = xous::connect(ticktimer_server_id).unwrap(); diff --git a/services/trng/src/main.rs b/services/trng/src/main.rs index d8b57d02f..7c8401e34 100644 --- a/services/trng/src/main.rs +++ b/services/trng/src/main.rs @@ -151,6 +151,7 @@ fn xmain() -> ! { use crate::implementation::Trng; log_server::init_wait().unwrap(); + info!("TRNG: my PID is {}", xous::process::id()); let trng_sid = xous_names::register_name(xous::names::SERVER_NAME_TRNG).expect("TRNG: can't register server"); info!("TRNG: registered with NS -- {:?}", trng_sid); diff --git a/services/xous-names/src/main.rs b/services/xous-names/src/main.rs index 26ab55de8..cb1a19727 100644 --- a/services/xous-names/src/main.rs +++ b/services/xous-names/src/main.rs @@ -18,6 +18,7 @@ const FAIL_TIMEOUT_MS: u64 = 100; #[xous::xous_main] fn xmain() -> ! { log_server::init_wait().unwrap(); + info!("NS: my PID is {}", xous::process::id()); let name_server = xous::create_server_with_address(b"xous-name-server") .expect("Couldn't create xousnames-server");