pub struct SyscallArgs {
pub pc: u64,
pub number: u32,
pub x0: u64,
pub x1: u64,
pub x2: u64,
pub x3: u64,
pub x4: u64,
pub x5: u64,
pub x6: u64,
}Expand description
Arguments for one BSD syscall (AArch64 Darwin convention).
Fields§
§pc: u64Guest PC of the trap instruction.
number: u32Syscall number (x16).
x0: u64x0 … x6 argument registers (Darwin allows up to 8; we need 7 for
bsdthread_register).
x1: u64§x2: u64§x3: u64§x4: u64§x5: u64§x6: u64Trait Implementations§
Source§impl Clone for SyscallArgs
impl Clone for SyscallArgs
impl Copy for SyscallArgs
Auto Trait Implementations§
impl Freeze for SyscallArgs
impl RefUnwindSafe for SyscallArgs
impl Send for SyscallArgs
impl Sync for SyscallArgs
impl Unpin for SyscallArgs
impl UnsafeUnpin for SyscallArgs
impl UnwindSafe for SyscallArgs
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