hv1_hypercall

Trait VtlSwitchOps

Source
pub trait VtlSwitchOps {
    // Required methods
    fn advance_ip(&mut self);
    fn inject_invalid_opcode_fault(&mut self);
}
Expand description

Operations required to handle VTL switch hypercalls.

Required Methods§

Source

fn advance_ip(&mut self)

Advances the instruction pointer for a vtl switch operation whose preconditions have been satisfied, in the context of the initiating vtl.

Source

fn inject_invalid_opcode_fault(&mut self)

Injects an invalid opcode fault for a vtl switch operation whose preconditions have been violated, in the context of the initiating vtl.

Implementors§