Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-12-12 | signal: Remove old way of sending signals and instead use procfs | Anton Kling | |
2024-12-12 | procfs: Add a procfs | Anton Kling | |
Userland can now interface with processes by writing/reading from `/proc/<pid>/<entry>` It can send signals, for example `echo 15 > /proc/1/signal` | |||
2024-12-08 | vfs: Force truncation even without permissions | Anton Kling | |
O_TRUNC as a mode does not seem to imply write permissions but we still wish to truncate the file before giving back a file descriptor. Therefore the kernel can now override any permission checks if it wishes to do a truncation while still using the "ordinary path". | |||
2024-11-30 | vfs: Move read() to vfs.c | Anton Kling | |
2024-11-28 | changes | Anton Kling | |
2024-11-23 | vfs: Add O_APPEND support + refactoring | Anton Kling | |
2024-11-22 | vfs: Add dup() | Anton Kling | |
2024-10-16 | kernel: Add RSOD(red screen of death) | Anton Kling | |
This is not useful since 99% of the time I will have access to the serial output. But it does look cool. | |||
2024-10-14 | kernel: small bug fixes | Anton Kling | |
2024-10-14 | kernel: stuff | Anton Kling | |
2024-10-03 | libc: Add sendfile and queue | Anton Kling | |
2024-07-06 | Kernel: Add queue syscall and improve TCP | Anton Kling | |
2024-07-06 | Kernel: Fix sleep function to use uptime instead of UTC time | Anton Kling | |
2024-07-05 | TCP: Add back support for listening on a socket | Anton Kling | |
2024-07-03 | Kernel/Time: Improve time keeping | Anton Kling | |
This makes use of TSC and now provides a file system interface for userland programs to change the system time. | |||
2024-06-30 | Kernel: Add clock_gettime | Anton Kling | |
2024-06-26 | Kernel: Move all syscalls into one file | Anton Kling | |
2024-06-26 | Libc/Kernel: Add fcntl() | Anton Kling | |
2024-06-26 | Remove mread | Anton Kling | |
2024-06-26 | Networking stuff | Anton Kling | |
TCP is now in a somewhat good state | |||
2024-06-26 | LibC: Fix printf formatting | Anton Kling | |
Previously %02x would not print out padding if the given value was zero. | |||
2024-06-24 | Kernel: Purge unused/bad syscalls | Anton Kling | |
2024-06-17 | Reorganize logging code | Anton Kling | |
2024-06-09 | Add UDP | Anton Kling | |
2024-05-05 | Kernel: Clear more interrupts for mouse driver | Anton Kling | |
I am not sure why the mouse requires interrupt line 2 to be cleared. | |||
2024-05-05 | Kernel: Mask interrupts until they have a handler | Anton Kling | |
2024-04-29 | Kernel/LibC: Remove unused syscalls | Anton Kling | |
2024-04-29 | Kernel/IRC: Add setsockopt and move IRC client to use new socket interface | Anton Kling | |
2024-04-29 | Kernel/Socket: Move sockets back to being file descriptors | Anton Kling | |
2024-04-26 | Kernel: Handle userspace memory errors instead of crashing. | Anton Kling | |
The kernel should kill the process if it has memory issues. | |||
2024-04-18 | LibC/Kernel: Move lseek/seek to kernel | Anton Kling | |
2024-04-18 | Kernel: Fix compiler warnings | Anton Kling | |
2024-04-17 | Kernel/LibC: Add fstat() and remove stat() syscall | Anton Kling | |
2024-04-16 | Kernel: Improve "out of memory" error handling | Anton Kling | |
It can now boot with fairly low memory while not crashing and instead gracefully failing the operation. Userland still does not properly handle errors. | |||
2024-04-15 | Bug fix and cleanup. | Anton Kling | |
2024-04-11 | bug fixes | Anton Kling | |
2024-04-02 | Kernel: Fix some memory leaks | Anton Kling | |
2024-03-26 | Increase support for signals | Anton Kling | |
2024-03-25 | Random changes | Anton Kling | |
2024-03-17 | stuff | Anton Kling | |
2024-03-14 | random changes made | Anton Kling | |
2024-03-02 | Kernel: Fix incorrect hardcoded value. | Anton Kling | |
It should be 20 as there are 5 addresses pushed onto the stack. Not hex 20 which is sligthly more and as a result caused random crashes. | |||
2024-02-25 | IPC: Inform the scheduler the process is waiting for a IPC message | Anton Kling | |
2024-02-22 | Kernel: Fix undefined behavior and cleanup functions. | Anton Kling | |
The int_syscall caused crashes for higher level of optimizations. To fix this I rewrote the function in assembly as I deemed it to be simpler. | |||
2024-02-21 | Kernel: Remove all inline assembly. | Anton Kling | |
Now the kernel does not rely upon inline assembly which is often very error prone. This also means that the kernel could probably be compiled with any c99 compiler which would help future bootstrapping. | |||
2024-02-21 | New clang-format options | Anton Kling | |
2024-02-17 | cleanup | Anton Kling | |
2024-02-16 | General cleanup | Anton Kling | |
2024-02-14 | Kernel: Update signal handling and IPC | Anton Kling | |
2024-02-09 | Kernel/Interrupts: Restructure how interrupts are handeled in the kernel | Anton Kling | |
Now all interrupts go through a common stub which will make certain signal handlers easier to implement |