pub trait EmulatorMonitorSupport {
// Required methods
fn check_write(&self, gpa: u64, bytes: &[u8]) -> bool;
fn check_read(&self, gpa: u64, bytes: &mut [u8]) -> bool;
}
Expand description
MNF support routines for the emulator
Required Methods§
Sourcefn check_write(&self, gpa: u64, bytes: &[u8]) -> bool
fn check_write(&self, gpa: u64, bytes: &[u8]) -> bool
Check if the specified write is inside the monitor page, and signal the associated connection ID if it is.
Sourcefn check_read(&self, gpa: u64, bytes: &mut [u8]) -> bool
fn check_read(&self, gpa: u64, bytes: &mut [u8]) -> bool
Check if the specified read is inside the monitor page, and fill the provided buffer if it is.