Attribute Macro panda_macros::hd_write
source · #[hd_write]
Expand description
(Callback) Called when there is a hard drive write
Callback ID: PANDA_CB_HD_WRITE
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_write]
fn callback(_: &mut CPUState, ) {
// do stuff
}