ladybird/Kernel
Andreas Kling 949aef4aef 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. :^)
2020-07-30 23:40:57 +02:00
..
ACPI Kernel: Add SMP IPI support 2020-07-06 17:07:44 +02:00
API Kernel+LibC: Add sys$set_process_name() for changing the process name 2020-07-27 19:10:18 +02:00
Arch LibC+Kernel: Start implementing sysconf 2020-07-15 00:07:20 +02:00
Devices Kernel: Make all 6 VirtualConsoles available via shortcut 2020-07-17 00:36:50 +02:00
FileSystem Kernel: Support file-backed mmap() with non-zero offset 2020-07-27 00:31:24 +02:00
Heap Kernel: Add SMP IPI support 2020-07-06 17:07:44 +02:00
Interrupts Kernel: Fix some flaws that caused crashes or hangs during boot 2020-07-09 23:24:55 +02:00
Modules Build: Switch to CMake :^) 2020-05-14 20:15:18 +02:00
Net Net: Fix IPv4 fragmentation not working for larger payloads 2020-07-28 20:33:24 +02:00
PCI Kernel: Add SMP IPI support 2020-07-06 17:07:44 +02:00
Syscalls Kernel: Move syscall implementations out of Process.cpp 2020-07-30 23:40:57 +02:00
Tasks Kernel: Require a reason to be passed to Thread::wait_on 2020-07-06 10:00:24 +02:00
Time Kernel: Use map_typed() in HPET code and add a register access helper 2020-06-21 00:58:55 +02:00
TTY Kernel: Ensure there are all VirtualConsoles properly initialized 2020-07-17 00:36:50 +02:00
VM Kernel: Move syscall implementations out of Process.cpp 2020-07-30 23:40:57 +02:00
.gitignore
Assertions.h Kernel: List all CPUs in /proc/cpuinfo 2020-07-01 12:07:01 +02:00
CMakeLists.txt Kernel: Move syscall implementations out of Process.cpp 2020-07-30 23:40:57 +02:00
CMOS.cpp Kernel: Absorb LibBareMetal back into the kernel 2020-05-16 12:00:04 +02:00
CMOS.h
CommandLine.cpp
CommandLine.h
Console.cpp Kernel: Protect Console with SpinLock 2020-07-01 12:07:01 +02:00
Console.h Kernel: Port VirtualConsole to LibVT :^) 2020-05-27 11:19:38 +02:00
DoubleBuffer.cpp
DoubleBuffer.h
Forward.h Kernel: Implement software context switching and Processor structure 2020-07-01 12:07:01 +02:00
init.cpp Kernel: Make BXVGA detection actually detect VBoxVGA 2020-07-30 17:01:41 +02:00
IO.h Kernel: Absorb LibBareMetal back into the kernel 2020-05-16 12:00:04 +02:00
KBuffer.h
KBufferBuilder.cpp Kernel: Fix KBufferBuilder::append() 2020-07-05 12:26:27 +02:00
KBufferBuilder.h
kprintf.cpp Kernel: Allow recursion when writing to the debug log 2020-07-03 19:32:34 +02:00
KResult.h Kernel: Always inline some KResult / KResultOr<> methods 2020-06-02 21:49:47 +02:00
kstdio.h Kernel: Remove awkward "#define printf dbgprintf" 2020-05-16 12:03:25 +02:00
KSyms.cpp Kernel: Add SMP IPI support 2020-07-06 17:07:44 +02:00
KSyms.h
linker.ld Build: Switch to CMake :^) 2020-05-14 20:15:18 +02:00
Lock.cpp Kernel: Add SMP IPI support 2020-07-06 17:07:44 +02:00
Lock.h
mkmap.sh Build: Switch to CMake :^) 2020-05-14 20:15:18 +02:00
Module.h
Multiboot.h
PerformanceEventBuffer.cpp Kernel: Turn Thread::current and Process::current into functions 2020-07-01 12:07:01 +02:00
PerformanceEventBuffer.h
PhysicalAddress.h Kernel: Absorb LibBareMetal back into the kernel 2020-05-16 12:00:04 +02:00
Process.cpp Kernel: Move syscall implementations out of Process.cpp 2020-07-30 23:40:57 +02:00
Process.h Kernel: Move syscall implementations out of Process.cpp 2020-07-30 23:40:57 +02:00
Profiling.cpp
Profiling.h
Ptrace.cpp Kernel: Turn Thread::current and Process::current into functions 2020-07-01 12:07:01 +02:00
Ptrace.h Kernel: Move headers intended for userspace use into Kernel/API/ 2020-07-04 17:22:23 +02:00
Random.cpp Kernel: Require a reason to be passed to Thread::wait_on 2020-07-06 10:00:24 +02:00
Random.h Kernel: Make Random work on CPUs without rdrand 2020-06-27 19:40:33 +02:00
RTC.cpp
RTC.h
Scheduler.cpp Kernel: Move syscall implementations out of Process.cpp 2020-07-30 23:40:57 +02:00
Scheduler.h Kernel: Add SMP IPI support 2020-07-06 17:07:44 +02:00
SharedBuffer.cpp AK: Make Vector::unstable_remove() return the removed value 2020-07-05 12:26:27 +02:00
SharedBuffer.h Kernel: Tidy up SharedBuffer interface 2020-05-16 09:44:00 +02:00
SpinLock.h Kernel: Add SMP IPI support 2020-07-06 17:07:44 +02:00
StdLib.cpp Kernel: Absorb LibBareMetal back into the kernel 2020-05-16 12:00:04 +02:00
StdLib.h Kernel: Dont't static_assert that size_t is 32-bit :^) 2020-05-23 15:25:43 +02:00
Syscall.cpp Kernel: Remove special-casing of sys$gettid() in syscall entry 2020-07-18 00:25:02 +02:00
Thread.cpp Kernel: Allow Thread::sleep for more than 388 days 2020-07-25 20:21:25 +02:00
Thread.h Kernel: Allow Thread::sleep for more than 388 days 2020-07-25 20:21:25 +02:00
ThreadTracer.cpp
ThreadTracer.h
TimerQueue.cpp
TimerQueue.h
UnixTypes.h LibC+Kernel: Start implementing sysconf 2020-07-15 00:07:20 +02:00
VirtualAddress.h Kernel: Absorb LibBareMetal back into the kernel 2020-05-16 12:00:04 +02:00
WaitQueue.cpp Kernel: Enhance WaitQueue to remember pending wakes 2020-07-06 10:00:24 +02:00
WaitQueue.h Kernel: Enhance WaitQueue to remember pending wakes 2020-07-06 10:00:24 +02:00