Syscall Dispatching, Syscall returning and Exit Syscall
Finally, after all this time: User programs can now interact with the kernel!! :)
Changelog
- Added
Syscallenum which represents all possible syscalls and their respective IDs - Added
SyscallArgswhichs contains syscall number and args in an architecture-independent format - Added
SyscallResultandSyscallError - Added syscall dispatching logic
- Fixed kernel data leaking into userspace via
initial_userspace_jumpby clearing CPU registers before the jump
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.