Enum twizzler_abi::syscall::Syscall
source · #[repr(C)]pub enum Syscall {
Show 20 variants
Null,
KernelConsoleRead,
KernelConsoleWrite,
ThreadSync,
ThreadCtrl,
ObjectCreate,
ObjectMap,
SysInfo,
Spawn,
ReadClockInfo,
ReadClockList,
Kaction,
NewHandle,
ObjectUnmap,
ObjectCtrl,
ObjectStat,
ObjectReadMap,
UnbindHandle,
SctxAttach,
NumSyscalls,
}
Expand description
All possible Synchronous syscalls into the Twizzler kernel.
Variants§
Null
KernelConsoleRead
Read data from the kernel console, either buffer or input.
KernelConsoleWrite
Write data to the kernel console.
ThreadSync
Sync a thread with other threads using some number of memory words.
ThreadCtrl
General thread control functions.
ObjectCreate
Create new object.
ObjectMap
Map an object into address space.
SysInfo
Returns system info.
Spawn
Spawn a new thread.
ReadClockInfo
Read clock information.
ReadClockList
List clock sources.
Kaction
Apply a kernel action to an object (used for device drivers).
NewHandle
New Handle.
ObjectUnmap
Unmap an object.
ObjectCtrl
Manage in-kernel object properties.
ObjectStat
Get kernel information about an object.
ObjectReadMap
Read mapping information.
UnbindHandle
Remove an object as a handle.
SctxAttach
Attach to a security context.
NumSyscalls
Implementations§
Trait Implementations§
impl Copy for Syscall
Auto Trait Implementations§
impl ObjSafe for Syscall
impl RefUnwindSafe for Syscall
impl Send for Syscall
impl Sync for Syscall
impl Unpin for Syscall
impl UnwindSafe for Syscall
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