Function emulate_mnf_write_fast_path

Source
pub fn emulate_mnf_write_fast_path<T: EmulatorSupport>(
    opcode: u32,
    support: &mut T,
    gm: &GuestMemory,
    dev: &impl CpuIo,
) -> Option<u64>
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.