timer_getoverrun_return

Attribute Macro timer_getoverrun_return 

Source
#[timer_getoverrun_return]
Expand description

(Callback) A callback that runs after the timer_getoverrun syscall runs.

Callback arguments: (&mut CPUState,SyscallPc,u32,)

ยงExample

use panda::prelude::*;

#[panda::on_sys::timer_getoverrun_enter]
fn callback(_: &mut CPUState, _: SyscallPc, _: u32, ) {
    // do stuff
}