mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-16 08:38:26 +00:00
add SID debug printout for test servers
This commit is contained in:
parent
798183fe95
commit
96102630b3
2 changed files with 2 additions and 0 deletions
|
|
@ -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(
|
||||
|
|
|
|||
|
|
@ -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"))]
|
||||
|
|
|
|||
Loading…
Reference in a new issue