satman coremgmt: code after reboot is unreachable

This commit is contained in:
occheung 2024-09-04 14:39:43 +08:00
parent c5b00d8e4e
commit 3884c14a19
1 changed files with 2 additions and 1 deletions

View File

@ -1263,7 +1263,8 @@ fn process_aux_packet(
drtioaux::send(0, &drtioaux::Packet::CoreMgmtReply { succeeded: true })?; drtioaux::send(0, &drtioaux::Packet::CoreMgmtReply { succeeded: true })?;
info!("reboot imminent"); info!("reboot imminent");
slcr::reboot(); slcr::reboot();
Ok(())
unreachable!();
} }
drtioaux::Packet::CoreMgmtAllocatorDebugRequest { drtioaux::Packet::CoreMgmtAllocatorDebugRequest {
destination: _destination, destination: _destination,