runtime: print destination up message for local RTIO

This commit is contained in:
Sebastien Bourdeauducq 2018-09-13 14:10:52 +08:00
parent fa872c3341
commit 042b0065de

View File

@ -208,7 +208,10 @@ pub mod drtio {
if hop == 0 {
/* local RTIO */
up_destinations[destination] = true;
if !up_destinations[destination] {
info!("[DEST#{}] destination is up", destination);
up_destinations[destination] = true;
}
} else if hop as usize <= csr::DRTIO.len() {
let linkno = hop - 1;
if up_destinations[destination] {