#[repr(C)]pub struct _ocsd_pe_context {
pub security_level: ocsd_sec_level,
pub exception_level: ocsd_ex_level,
pub context_id: u32,
pub vmid: u32,
pub __bindgen_anon_1: _ocsd_pe_context__bindgen_ty_1,
}Expand description
Core(PE) context structure records current security state, exception level, VMID and ContextID for core.
Fields§
§security_level: ocsd_sec_level< security state
exception_level: ocsd_ex_level< exception level
context_id: u32< context ID
vmid: u32< VMID
__bindgen_anon_1: _ocsd_pe_context__bindgen_ty_1Trait Implementations§
Source§impl Clone for _ocsd_pe_context
impl Clone for _ocsd_pe_context
Source§fn clone(&self) -> _ocsd_pe_context
fn clone(&self) -> _ocsd_pe_context
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for _ocsd_pe_context
impl Debug for _ocsd_pe_context
impl Copy for _ocsd_pe_context
Auto Trait Implementations§
impl Freeze for _ocsd_pe_context
impl RefUnwindSafe for _ocsd_pe_context
impl Send for _ocsd_pe_context
impl Sync for _ocsd_pe_context
impl Unpin for _ocsd_pe_context
impl UnwindSafe for _ocsd_pe_context
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