forked from M-Labs/artiq-zynq
cargo fmt
This commit is contained in:
parent
60c347693f
commit
31936bee98
|
@ -69,7 +69,7 @@ pub enum Request {
|
||||||
ConfigRemove = 14,
|
ConfigRemove = 14,
|
||||||
ConfigErase = 15,
|
ConfigErase = 15,
|
||||||
|
|
||||||
DebugAllocator = 8
|
DebugAllocator = 8,
|
||||||
}
|
}
|
||||||
|
|
||||||
#[repr(i8)]
|
#[repr(i8)]
|
||||||
|
@ -824,7 +824,14 @@ async fn handle_connection(
|
||||||
process!(stream, _timer, _aux_mutex, _routing_table, _destination, config_erase)
|
process!(stream, _timer, _aux_mutex, _routing_table, _destination, config_erase)
|
||||||
}
|
}
|
||||||
Request::DebugAllocator => {
|
Request::DebugAllocator => {
|
||||||
process!(stream, _timer, _aux_mutex, _routing_table, _destination, debug_allocator)
|
process!(
|
||||||
|
stream,
|
||||||
|
_timer,
|
||||||
|
_aux_mutex,
|
||||||
|
_routing_table,
|
||||||
|
_destination,
|
||||||
|
debug_allocator
|
||||||
|
)
|
||||||
}
|
}
|
||||||
}?;
|
}?;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1264,7 +1264,9 @@ fn process_aux_packet(
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
drtioaux::Packet::CoreMgmtConfigEraseRequest { destination: _destination } => {
|
drtioaux::Packet::CoreMgmtConfigEraseRequest {
|
||||||
|
destination: _destination,
|
||||||
|
} => {
|
||||||
forward!(
|
forward!(
|
||||||
router,
|
router,
|
||||||
_routing_table,
|
_routing_table,
|
||||||
|
@ -1299,7 +1301,9 @@ fn process_aux_packet(
|
||||||
slcr::reboot();
|
slcr::reboot();
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
drtioaux::Packet::CoreMgmtAllocatorDebugRequest { destination: _destination } => {
|
drtioaux::Packet::CoreMgmtAllocatorDebugRequest {
|
||||||
|
destination: _destination,
|
||||||
|
} => {
|
||||||
forward!(
|
forward!(
|
||||||
router,
|
router,
|
||||||
_routing_table,
|
_routing_table,
|
||||||
|
|
Loading…
Reference in New Issue