AquilaOS documentation
How it works, and its code
Loading...
Searching...
No Matches
sys Directory Reference

Directories

 
binfmt

Files

 
callout.c
 Callouts: functions to call at a time to come (see sys/callout.h).
 
execve.c
 execve(): a process runs another program.
 
fork.c
 fork(): a copy of the calling process.
 
kthread.c
 Kernel threads.
 
lock.c
 The kernel lock.
 
proc.c
 Processes: making them and ending them, their IDs, their descriptors, and their sessions and process groups.
 
reboot.c
 Restarting, halting and powering off the machine (reboot()), and Ctrl+Alt+Del.
 
sched.c
 The scheduler: which thread runs next, and the tick.
 
signal.c
 Signals: sending them, and taking them on the way back to user mode.
 
sys_file.c
 System calls on files: opening, reading and writing them, their names and attributes, directories, links, mounts and locks.
 
sys_net.c
 System calls on sockets: making them, binding, listening, accepting and connecting, sending and receiving, their names and options.
 
sys_poll.c
 System calls that wait for any of several descriptors: select() (and pselect()) and poll().
 
sys_proc.c
 System calls about processes and threads: exit(), execve(), fork(), waitpid(), threads, IDs, process groups and sessions, memory (sbrk(), mmap(), munmap()), and the machine (uname(), reboot(), sethostname()).
 
sys_signal.c
 System calls about signals, timers and the time: kill(), sigaction(), the signal mask, sigsuspend() and sigreturn(), setitimer(), nanosleep(), and the clocks.
 
syscall.c
 System calls: what the architecture calls when user mode makes one (syscall_dispatch()), the table of them, and the helpers that several kinds of calls share, for the user memory and descriptors they take.
 
syscalls.h
 
thread.c
 Threads: making one in a process, and ending one.
 
waitq.c
 Wait queues (see sys/waitq.h).