Expand description
Helper functions and types shared between multiple arch crates.
This function contains functions and types that do not have to be in the
core kernel and are architecture-specific, but are shared by two or more
arch crates. While these could also live in a dedicated crate, we use the
kernel crate as all arch crates already depend on it.
Enums§
- TRD104
Syscall Return - System call return variants defined as defined in TRD104.
- TRD104
Syscall Return Variant - Enumeration of the system call return type variant identifiers described in TRD104.
Functions§
- encode_
syscall_ return_ trd104 - Encode the system call return value into 4 registers, following the encoding specified in TRD104. Architectures which do not follow TRD104 are free to define their own encoding.
- encode_
upcall_ trd104 - Encode the upcall arguments into 4 registers compatible with TRD104.
- encode_
upcall_ ⚠trd104_ ptr - Encode the upcall arguments into 4 registers compatible with TRD104.
- syscall_
from_ register_ arguments_ trd104 - Helper function for converting raw values passed back from an application
into a
Syscalltype.