Function emulate_mnf_write_fast_path

Source
pub fn emulate_mnf_write_fast_path<T: EmulatorSupport>(
    support: &mut T,
    gm: &GuestMemory,
    dev: &impl CpuIo,
    interruption_pending: bool,
    tlb_lock_held: bool,
) -> Result<Option<u32>, VpHaltReason<T::Error>>
Expand description

Tries to emulate monitor page writes without taking the slower, full emulation path.

The caller must have already validated that the fault was due to a write to a monitor page GPA.

Returns the bit number being set within the monitor page.