Implemented a basic syscall handler

This commit is contained in:
2025-05-07 13:25:18 +02:00
parent d6035dff80
commit 024dcfffcc
11 changed files with 110 additions and 42 deletions
+15
View File
@@ -1,6 +1,21 @@
System Calls
============
System calls are a way of interfacing with the kernel from userspace.
Calling
-------
System calls are called via interrupt 0x80. Arguments can be passed through
registers in this order with EAX containing the system call number (see [Table](#Table))
and arguments in EBX, ECX, EDX, ESI, EDI and EBP respectively.
Table
-----
Syscalls
--------
pid_t fork(void);
Creates a child process.