kernel: added error message after uncaught exception

core0-buffer
pca006132 3 years ago committed by Gitea
parent caef2a9f84
commit a9f725dd33
  1. 2
      src/runtime/src/kernel/core1.rs

@ -189,5 +189,7 @@ pub fn terminate(exception: &'static eh_artiq::Exception<'static>, backtrace: &'
let core1_tx: &mut sync_channel::Sender<Message> = unsafe { mem::transmute(KERNEL_CHANNEL_1TO0) };
core1_tx.send(Message::KernelException(exception, &backtrace[..cursor]));
// TODO: remove after implementing graceful kernel termination.
error!("Core1 uncaught exception");
loop {}
}

Loading…
Cancel
Save