pub type VCpu<C = NoExplicitInvocationContext> = Cap<VCpu, C>;
Aliased Type§
struct VCpu<C = NoExplicitInvocationContext> { /* private fields */ }
Implementations§
Source§impl<C: InvocationContext> VCpu<C>
impl<C: InvocationContext> VCpu<C>
Sourcepub fn vcpu_set_tcb(self, tcb: Tcb) -> Result<()>
pub fn vcpu_set_tcb(self, tcb: Tcb) -> Result<()>
Corresponds to seL4_ARM_VCPU_SetTCB
.
Sourcepub fn vcpu_read_regs(self, field: VCpuReg) -> Result<Word>
pub fn vcpu_read_regs(self, field: VCpuReg) -> Result<Word>
Corresponds to seL4_ARM_VCPU_ReadRegs
.
Sourcepub fn vcpu_write_regs(self, field: VCpuReg, value: Word) -> Result<()>
pub fn vcpu_write_regs(self, field: VCpuReg, value: Word) -> Result<()>
Corresponds to seL4_ARM_VCPU_WriteRegs
.
Sourcepub fn vcpu_ack_vppi(self, irq: Word) -> Result<()>
pub fn vcpu_ack_vppi(self, irq: Word) -> Result<()>
Corresponds to seL4_ARM_VCPU_AckVPPI
.
Sourcepub fn vcpu_inject_irq(
self,
virq: u16,
priority: u8,
group: u8,
index: u8,
) -> Result<()>
pub fn vcpu_inject_irq( self, virq: u16, priority: u8, group: u8, index: u8, ) -> Result<()>
Corresponds to seL4_ARM_VCPU_InjectIRQ
.