syscall #17
Reference in New Issue
Block a user
Delete Branch "syscall"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
A lot of things happened since last time.
Various improvements/new small features: Undefined Behavior sanitization (UBSan), Floating Point Unit (FPU), CPU vendor string recon, VMM upgrade, a bit of refactoring (in the gdt mainly).
The main thing here is that we set up a TSS, kernel interrupt stack, and the first ever user program!!! We have a little dumb implementation of sys_write.
Next steps will be to implement some kind of sys_exit, make the scheduler only work with user programs, quit the kernel apps shit and upgrade the kernel shell to a user shell using syscalls. We might even look further: making some sort of library that wraps around these syscalls. Then maybe we can make our x86-pepperos-gcc??? so we don't have to specify libraries, linking etc. each time... we'll see. Also a filesystem (at least TAR-like, initrd) would be nice to load more programs instead of relying on the Limine module loading.