mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 00:57:44 +00:00
Kernel: Move syscall implementations out of Process.cpp
This is something I've been meaning to do for a long time, and here we finally go. This patch moves all sys$foo functions out of Process.cpp and into files in Kernel/Syscalls/. It's not exactly one syscall per file (although it could be, but I got a bit tired of the repetitive work here..) This makes hacking on individual syscalls a lot less painful since you don't have to rebuild nearly as much code every time. I'm also hopeful that this makes it easier to understand individual syscalls. :^)
This commit is contained in:
parent
027c450d6d
commit
949aef4aef
73 changed files with 6774 additions and 4485 deletions
|
@ -87,6 +87,74 @@ set(KERNEL_SOURCES
|
|||
SharedBuffer.cpp
|
||||
StdLib.cpp
|
||||
Syscall.cpp
|
||||
Syscalls/access.cpp
|
||||
Syscalls/alarm.cpp
|
||||
Syscalls/beep.cpp
|
||||
Syscalls/chdir.cpp
|
||||
Syscalls/chmod.cpp
|
||||
Syscalls/chown.cpp
|
||||
Syscalls/chroot.cpp
|
||||
Syscalls/clock.cpp
|
||||
Syscalls/debug.cpp
|
||||
Syscalls/dup.cpp
|
||||
Syscalls/execve.cpp
|
||||
Syscalls/exit.cpp
|
||||
Syscalls/fcntl.cpp
|
||||
Syscalls/fork.cpp
|
||||
Syscalls/ftruncate.cpp
|
||||
Syscalls/futex.cpp
|
||||
Syscalls/get_dir_entries.cpp
|
||||
Syscalls/get_stack_bounds.cpp
|
||||
Syscalls/getrandom.cpp
|
||||
Syscalls/getuid.cpp
|
||||
Syscalls/hostname.cpp
|
||||
Syscalls/ioctl.cpp
|
||||
Syscalls/kill.cpp
|
||||
Syscalls/link.cpp
|
||||
Syscalls/lseek.cpp
|
||||
Syscalls/mkdir.cpp
|
||||
Syscalls/mknod.cpp
|
||||
Syscalls/mmap.cpp
|
||||
Syscalls/module.cpp
|
||||
Syscalls/mount.cpp
|
||||
Syscalls/open.cpp
|
||||
Syscalls/perf_event.cpp
|
||||
Syscalls/pipe.cpp
|
||||
Syscalls/pledge.cpp
|
||||
Syscalls/process.cpp
|
||||
Syscalls/profiling.cpp
|
||||
Syscalls/ptrace.cpp
|
||||
Syscalls/purge.cpp
|
||||
Syscalls/read.cpp
|
||||
Syscalls/readlink.cpp
|
||||
Syscalls/realpath.cpp
|
||||
Syscalls/rename.cpp
|
||||
Syscalls/rmdir.cpp
|
||||
Syscalls/sched.cpp
|
||||
Syscalls/select.cpp
|
||||
Syscalls/sendfd.cpp
|
||||
Syscalls/setkeymap.cpp
|
||||
Syscalls/setpgid.cpp
|
||||
Syscalls/setuid.cpp
|
||||
Syscalls/shbuf.cpp
|
||||
Syscalls/shutdown.cpp
|
||||
Syscalls/sigaction.cpp
|
||||
Syscalls/sleep.cpp
|
||||
Syscalls/socket.cpp
|
||||
Syscalls/stat.cpp
|
||||
Syscalls/sync.cpp
|
||||
Syscalls/sysconf.cpp
|
||||
Syscalls/thread.cpp
|
||||
Syscalls/times.cpp
|
||||
Syscalls/ttyname.cpp
|
||||
Syscalls/umask.cpp
|
||||
Syscalls/uname.cpp
|
||||
Syscalls/unlink.cpp
|
||||
Syscalls/unveil.cpp
|
||||
Syscalls/utime.cpp
|
||||
Syscalls/waitid.cpp
|
||||
Syscalls/watch_file.cpp
|
||||
Syscalls/write.cpp
|
||||
TTY/MasterPTY.cpp
|
||||
TTY/PTYMultiplexer.cpp
|
||||
TTY/SlavePTY.cpp
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue