[][src]Attribute Macro panda::hd_read

#[hd_read]

(Callback) Called when there is a hard drive read

Callback ID: PANDA_CB_HD_READ

   Note: this was added to panda_cb_type enum but no callback prototype inserted
   Here is a stub.  I'm not sure what the args should be.
   Arguments
   CPUState *env

Callback arguments: (&mut CPUState, )

Example

use panda::prelude::*;

#[panda::hd_read]
fn callback(_: &mut CPUState, ) {
    // do stuff
}