See also: Kernel Index, CPU, Userspace Selftest
This directory implements syscall dispatch and handler entry points that bridge userspace ABI requests to kernel subsystems.
Syscall Dispatch
syscall.c — syscall_dispatch() routes syscall numbers to handlers via a switch statement.
Syscall entry is handled by the architecture layer (kernel/arch/i686/syscall/syscall.c) using int 0x80.
Implemented Syscalls
| Number | Name | Handler | Status |
|---|---|---|---|
1 |
|
|
Complete |
2 |
|
|
Complete |
3 |
|
|
Complete |
4 |
|
|
Complete |
5 |
|
|
Complete |
6 |
|
|
Complete |
11 |
|
|
Complete |
15 |
|
|
Stub |
19 |
|
|
Complete |
20 |
|
|
Complete |
23 |
|
|
Complete |
24 |
|
|
Complete |
45 |
|
|
Complete |
46 |
|
|
Complete |
47 |
|
|
Complete |
64 |
|
|
Complete |
114 |
|
|
Complete |
182 |
|
|
Stub |
186 |
|
|
Complete |
Typical Work in This Area
-
Add new syscall handlers (mmap, munmap, ioctl, fcntl, etc.)
-
Improve ABI compatibility and argument validation
-
Harden return/error behavior and scheduler interactions