start_trap_rust

Function start_trap_rust 

Source
#[unsafe(export_name = "_start_trap_rust_from_kernel")]
pub extern "C" fn start_trap_rust()
Expand description

Trap handler for board/chip specific code.

For the arty-e21 this gets called when an interrupt occurs while the chip is in kernel mode. All we need to do is check which interrupt occurred and disable it.