add SID debug printout for test servers

This commit is contained in:
bunnie 2024-01-20 16:15:37 +08:00
parent 798183fe95
commit 96102630b3
2 changed files with 2 additions and 0 deletions

View file

@ -143,6 +143,7 @@ fn main() {
let xns = xous_api_names::XousNames::new().unwrap();
let mbox_sid = xns.register_name("_mbox_", None).expect("can't register server");
let mbox_cid = xous::connect(mbox_sid).unwrap();
log::info!("mbox SID: {:x?}", mbox_sid);
#[cfg(feature = "cramium-fpga")]
let csr = xous::syscall::map_memory(

View file

@ -154,6 +154,7 @@ fn main() {
let xns = xous_api_names::XousNames::new().unwrap();
let client_sid = xns.register_name("_mbox_client_", None).expect("can't register server");
let client_cid = xous::connect(client_sid).unwrap();
log::info!("mbox client SID: {:x?}", client_sid);
let mb_client_csr = xous::syscall::map_memory(
#[cfg(not(feature = "ext"))]