#[repr(C)]pub struct Run { /* private fields */ }
Expand description
The structure holds data passsed between the Host and the RMM on Realm Execution Context (REC) entry and exit.
Implementations§
source§impl Run
impl Run
pub fn entry_flags(&self) -> u64
pub fn entry_gpr(&self, idx: usize) -> Result<u64, Error>
pub fn entry_gic_lrs(&self) -> &[u64; 16]
pub fn entry_gic_hcr(&self) -> u64
pub fn exit_gic_lrs_mut(&mut self) -> &mut [u64; 16]
pub fn set_imm(&mut self, imm: u16)
pub fn set_exit_reason(&mut self, exit_reason: u8)
pub fn set_esr(&mut self, esr: u64)
pub fn set_far(&mut self, far: u64)
pub fn set_hpfar(&mut self, hpfar: u64)
pub fn set_gpr(&mut self, idx: usize, val: u64) -> Result<(), Error>
pub fn set_ripas(&mut self, base: u64, size: u64, state: u8)
pub fn set_gic_lrs(&mut self, src: &[u64], len: usize)
pub fn set_gic_misr(&mut self, val: u64)
pub fn set_gic_vmcr(&mut self, val: u64)
pub fn set_gic_hcr(&mut self, val: u64)
pub fn set_cntv_ctl(&mut self, val: u64)
pub fn set_cntv_cval(&mut self, val: u64)
pub fn set_cntp_ctl(&mut self, val: u64)
pub fn set_cntp_cval(&mut self, val: u64)
pub fn exit_reason(&self) -> u8
pub fn gpr(&self, idx: usize) -> Result<u64, Error>
pub fn ripas(&self) -> (u64, u64)
Trait Implementations§
source§impl SafetyAssured for Run
impl SafetyAssured for Run
source§fn is_initialized(&self) -> bool
fn is_initialized(&self) -> bool
Checks if the instance is properly initialized. Read more
source§fn verify_ownership(&self) -> bool
fn verify_ownership(&self) -> bool
Checks whether ownership rules are upheld for this instance,
with a particular focus on instances that originate from raw pointers. Read more
source§impl SafetyChecked for Run
impl SafetyChecked for Run
fn is_not_null(&self) -> bool
fn is_aligned(&self) -> bool
impl Copy for Run
Auto Trait Implementations§
impl Freeze for Run
impl RefUnwindSafe for Run
impl Send for Run
impl Sync for Run
impl Unpin for Run
impl UnwindSafe for Run
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more