[][src]Module kernel::syscall

Syscall handlers

This module provides syscall definitions and the necessary resources to parse incoming syscalls

Re-exports

pub use self::driver::*;
pub use self::fs::*;
pub use self::futex::futex;
pub use self::privilege::*;
pub use self::process::*;
pub use self::time::*;
pub use self::validate::*;

Modules

data

Complex structures that are used for some system calls

debug

Debug

driver

Driver syscalls

error

All errors that can be generated by a system call

flag

Flags used as an argument to many system calls

fs

Filesystem syscalls Filesystem syscalls

futex

Fast userspace mutex

io

Functions for low level hardware control I/O functions

number

Call numbers used by each system call

privilege

Privilege syscalls

process

Process syscalls

scheme

A trait useful for scheme handlers

time

Time syscalls

validate

Validate input

Functions

syscall

This function is the syscall handler of the kernel, it is composed of an inner function that returns a Result<usize>. After the inner function runs, the syscall function calls Error::mux on it.