Skip to main content Skip to main content
Pigweed's logo Pigweed
code_xml
  1. Home
  2. Reference
  3. Rust
  4. pw_kernel
  5. syscall_user
  6. SysCall

SysCall

Struct SysCall 

Source
pub struct SysCall {}

Trait Implementations§

Source§

impl SysCallInterface for SysCall

Source§

fn object_wait(handle: u32, signals: u32, deadline: u64) -> Result<WaitReturn>

Source§

fn wait_group_add( wait_group: u32, object: u32, signal_mask: Signals, user_data: usize, ) -> Result<()>

Source§

fn wait_group_remove(wait_group: u32, object: u32) -> Result<()>

Source§

unsafe fn channel_transact( handle: u32, send_data: *const u8, send_len: usize, recv_data: *mut u8, recv_len: usize, deadline: u64, ) -> Result<u32>

Source§

unsafe fn channel_async_transact( handle: u32, send_data: *const u8, send_len: usize, recv_data: *mut u8, recv_len: usize, ) -> Result<()>

Source§

fn channel_async_transact_complete(handle: u32) -> Result<u32>

Source§

fn channel_async_cancel(handle: u32) -> Result<()>

Source§

unsafe fn channel_read( handle: u32, offset: usize, buffer: *mut u8, buffer_len: usize, ) -> Result<u32>

Source§

unsafe fn channel_respond( handle: u32, buffer: *const u8, buffer_len: usize, ) -> Result<()>

Source§

fn interrupt_ack(handle: u32, signal_mask: Signals) -> Result<()>

Source§

fn thread_start(handle: u32, initial_pc: usize, initial_sp: usize) -> Result<()>

Source§

fn task_terminate(handle: u32) -> Result<()>

Source§

fn task_join(handle: u32) -> Result<ExitStatus>

Source§

fn thread_exit(exit_code: u32) -> !

Source§

fn process_start(handle: u32) -> Result<()>

Source§

fn process_exit(exit_code: u32) -> !

Source§

fn object_set_peer_user_signal(handle: u32, set: bool) -> Result<()>

Set or clear Signals::USER on the paired peer (level-triggered model). Read more
Source§

fn debug_putc(a: u32) -> Result<u32>

Source§

fn debug_shutdown(a: u32) -> Result<()>

Source§

unsafe fn debug_log(buffer: *const u8, buffer_len: usize) -> Result<()>

Source§

fn debug_nop() -> Result<()>

Source§

fn debug_trigger_interrupt(irq: u32) -> Result<()>

Source§

fn debug_clock_now() -> u64

Auto Trait Implementations§

§

impl Forget for SysCall

§

impl Freeze for SysCall

§

impl Move for SysCall

§

impl RefUnwindSafe for SysCall

§

impl Send for SysCall

§

impl Sync for SysCall

§

impl Unpin for SysCall

§

impl UnsafeUnpin for SysCall

§

impl UnwindSafe for SysCall

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> 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 = !

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

fn try_from(value: U) -> Result<T, !>

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.