Trait axhal::trap::TrapHandler  
source · pub trait TrapHandler {
    // Required methods
    fn handle_irq(irq_num: usize);
    fn handle_syscall(syscall_id: usize, args: [usize; 6]) -> isize;
}Expand description
Trap handler interface.
This trait is defined with the #[def_interface] attribute. Users
should implement it with #[impl_interface] in any other crate.
Required Methods§
sourcefn handle_irq(irq_num: usize)
 
fn handle_irq(irq_num: usize)
Handles interrupt requests for the given IRQ number.