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
1 changed files with 4 additions and 1 deletions

View File

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