[−][src]Module kernel::syscall
Module for processing syscall
All functions that begin with sys_ will extract
parameters from trap frame, turn pointers into
Rust primitives and call corresponding functions
with these parameters in kernel code.
For specifications and how to do syscalls, refer to syscall module in user crate.
Re-exports
pub use gen::*; |
Modules
| file | File-related syscalls |
| gen | This module is automatically generated with |
Functions
| arg_fd | Get file corresponding to a file descriptor |
| arg_int | Get the |
| arg_ptr | Get the |
| arg_ptr_mut | Get the |
| arg_uint | Get the |
| argraw | Get the |
| sys_exec | exec syscall entry |
| sys_exit | exit syscall entry |
| sys_fork | fork syscall entry |
| syscall | Process all syscall |