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§
Sourcefn advance_ip(&mut self)
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.
Sourcefn inject_invalid_opcode_fault(&mut self)
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.