sel4_sys

Struct seL4_Fault_UnknownSyscall

Source
#[repr(transparent)]
pub struct seL4_Fault_UnknownSyscall(pub Bitfield<[u64; N], u64>);

Tuple Fields§

§0: Bitfield<[u64; N], u64>

Implementations§

Source§

impl seL4_Fault_UnknownSyscall

Source

pub fn new( RAX: u64, RBX: u64, RCX: u64, RDX: u64, RSI: u64, RDI: u64, RBP: u64, R8: u64, R9: u64, R10: u64, R11: u64, R12: u64, R13: u64, R14: u64, R15: u64, FaultIP: u64, RSP: u64, FLAGS: u64, Syscall: u64, ) -> Self

Source

pub fn unpack(&self) -> seL4_Fault_UnknownSyscall_Unpacked

Source

pub fn get_RAX(&self) -> u64

Source

pub fn set_RAX(&mut self, RAX: u64)

Source

pub const fn width_of_RAX() -> usize

Source

pub fn get_RBX(&self) -> u64

Source

pub fn set_RBX(&mut self, RBX: u64)

Source

pub const fn width_of_RBX() -> usize

Source

pub fn get_RCX(&self) -> u64

Source

pub fn set_RCX(&mut self, RCX: u64)

Source

pub const fn width_of_RCX() -> usize

Source

pub fn get_RDX(&self) -> u64

Source

pub fn set_RDX(&mut self, RDX: u64)

Source

pub const fn width_of_RDX() -> usize

Source

pub fn get_RSI(&self) -> u64

Source

pub fn set_RSI(&mut self, RSI: u64)

Source

pub const fn width_of_RSI() -> usize

Source

pub fn get_RDI(&self) -> u64

Source

pub fn set_RDI(&mut self, RDI: u64)

Source

pub const fn width_of_RDI() -> usize

Source

pub fn get_RBP(&self) -> u64

Source

pub fn set_RBP(&mut self, RBP: u64)

Source

pub const fn width_of_RBP() -> usize

Source

pub fn get_R8(&self) -> u64

Source

pub fn set_R8(&mut self, R8: u64)

Source

pub const fn width_of_R8() -> usize

Source

pub fn get_R9(&self) -> u64

Source

pub fn set_R9(&mut self, R9: u64)

Source

pub const fn width_of_R9() -> usize

Source

pub fn get_R10(&self) -> u64

Source

pub fn set_R10(&mut self, R10: u64)

Source

pub const fn width_of_R10() -> usize

Source

pub fn get_R11(&self) -> u64

Source

pub fn set_R11(&mut self, R11: u64)

Source

pub const fn width_of_R11() -> usize

Source

pub fn get_R12(&self) -> u64

Source

pub fn set_R12(&mut self, R12: u64)

Source

pub const fn width_of_R12() -> usize

Source

pub fn get_R13(&self) -> u64

Source

pub fn set_R13(&mut self, R13: u64)

Source

pub const fn width_of_R13() -> usize

Source

pub fn get_R14(&self) -> u64

Source

pub fn set_R14(&mut self, R14: u64)

Source

pub const fn width_of_R14() -> usize

Source

pub fn get_R15(&self) -> u64

Source

pub fn set_R15(&mut self, R15: u64)

Source

pub const fn width_of_R15() -> usize

Source

pub fn get_FaultIP(&self) -> u64

Source

pub fn set_FaultIP(&mut self, FaultIP: u64)

Source

pub const fn width_of_FaultIP() -> usize

Source

pub fn get_RSP(&self) -> u64

Source

pub fn set_RSP(&mut self, RSP: u64)

Source

pub const fn width_of_RSP() -> usize

Source

pub fn get_FLAGS(&self) -> u64

Source

pub fn set_FLAGS(&mut self, FLAGS: u64)

Source

pub const fn width_of_FLAGS() -> usize

Source

pub fn get_Syscall(&self) -> u64

Source

pub fn set_Syscall(&mut self, Syscall: u64)

Source

pub const fn width_of_Syscall() -> usize

Source§

impl seL4_Fault_UnknownSyscall

Source

pub fn unsplay(self) -> seL4_Fault

Trait Implementations§

Source§

impl Clone for seL4_Fault_UnknownSyscall

Source§

fn clone(&self) -> seL4_Fault_UnknownSyscall

Returns a copy of the value. Read more
1.0.0§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for seL4_Fault_UnknownSyscall

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl PartialEq for seL4_Fault_UnknownSyscall

Source§

fn eq(&self, other: &seL4_Fault_UnknownSyscall) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Eq for seL4_Fault_UnknownSyscall

Source§

impl StructuralPartialEq for seL4_Fault_UnknownSyscall

Auto Trait Implementations§

Blanket Implementations§

§

impl<T> Any for T
where T: 'static + ?Sized,

§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> Borrow<T> for T
where T: ?Sized,

§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
§

impl<T> BorrowMut<T> for T
where T: ?Sized,

§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> CloneToUninit for T
where T: Clone,

§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
§

impl<T> From<T> for T

§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T, U> Into<U> for T
where U: From<T>,

§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.