Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-12-12 | formatting: Use clang-format on all projects | Anton Kling | |
This commit also add braces to all `if` statements. | |||
2024-12-12 | kernel: Fix/improve cleanup of process after exit | Anton Kling | |
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-11 | kernel: Add more sv functions and change interfaces | Anton Kling | |
2024-12-10 | kernel: Add string view and string builder | Anton Kling | |
This makes write/read calls that use strings to communicate much simpler and less error prone. | |||
2024-12-10 | kernel: Add kbnprintf | Anton Kling | |
Like snprintf but without null termination | |||
2024-12-09 | timer: Use strings instead of direct int64_t to communicate with userland | Anton Kling | |
This makes it easier to write and read from /dev/clock using shell scripts. The actual performance decrease will be minimal and the interface is not that perfect for proper time keeping anyways. | |||
2024-12-09 | kernel: Add a way to parse numbers from C strings | Anton Kling | |
After making this change I am now actually doubting if using C strings is a good idea and maybe it should just always just the string view library that userland makes use of. But old code and the upcoming commits rely upon this so it is a change my future less lazy self will do. | |||
2024-12-09 | kernel: Add ksnprintf | Anton Kling | |
2024-12-09 | lock: Add lock utility | Anton Kling | |
2024-12-09 | sh: Add exit command | Anton Kling | |
2024-12-09 | libc: sv add number parsing | Anton Kling | |
2024-12-09 | mmu: Make certain allocations physical and virtual mapping linear | Anton Kling | |
Previously it was possible for fragmentation to occur and as a result certain allocations would have a linear virtual address space but not a linear physical address space. This is bad since a lot of calls to kmalloc_align rely upon both being linear, it has now been changed such that all allocations done by kmalloc_align now guarantee this mapping holds for both virtual and physical addresses. It was due to oversight and sheer luck that this had been working for so long. | |||
2024-12-09 | tcpserver: Add the basics of tcpserver | Anton Kling | |
2024-12-08 | vfs: Bug fix... | Anton Kling | |
The commit is self explanatory. It was a simple mistype that went unnoticed for a while. | |||
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-12-08 | audio: Control master volume through /dev/volume | Anton Kling | |
2024-12-08 | kernel/libc: Add isdigit() | Anton Kling | |
2024-12-08 | kernel: Change error reporting for exec* | Anton Kling | |
2024-12-02 | ac97: Messy fixes to audio | Anton Kling | |
It seems to work completely now, but it is still very messy. | |||
2024-12-02 | minibox: Add true, false | Anton Kling | |
2024-11-30 | audio/pcm: Add a proram to play audio files | Anton Kling | |
2024-11-30 | kernel: Change math.h to use macros | Anton Kling | |
Having min/max be functions was a stupid decision in the first place | |||
2024-11-30 | ac97/audio: Add audio | Anton Kling | |
Incomplete but still very cool | |||
2024-11-30 | vfs: Move read() to vfs.c | Anton Kling | |
2024-11-29 | ext2: Handle "zero" blocks | Anton Kling | |
Any blocks with the value zero appear to indicate a region completly filled to zeros. I don't see this anywhere in the spec but it does make sense and the behavior matches files that I have on my FreeBSD machine so I guess it must be valid. | |||
2024-11-28 | add missing files | Anton Kling | |
2024-11-28 | changes | Anton Kling | |
2024-11-24 | sh: Remove sh and use the "minibox" version instead | Anton Kling | |
2024-11-24 | libc: fclose should always close the associated file descriptor | Anton Kling | |
My previous "fix" was a misreading of the spec. | |||
2024-11-23 | vfs: Support O_TRUNC | Anton Kling | |
2024-11-23 | vfs: Add O_APPEND support + refactoring | Anton Kling | |
2024-11-23 | libc: Add append to f(d)open and other fixes | Anton Kling | |
2024-11-22 | libc: Fix bugs in strto(u)l(l) | Anton Kling | |
2024-11-22 | libc: Add RC_ERRNO to more syscalls | Anton Kling | |
This is very inconstant at the moment | |||
2024-11-22 | vfs: Add dup() | Anton Kling | |
2024-11-22 | libc: Add case for strtol(l) where base is 0 | Anton Kling | |
2024-11-22 | vfs: Close new file descriptor if already in use when calling dup2 | Anton Kling | |
2024-10-30 | kernel: Improve error handling for OOM | Anton Kling | |
2024-10-30 | kernel/mmu: Make sure to check for NULL. | Anton Kling | |
2024-10-17 | kernel: Use realloc instead of malloc+free | Anton Kling | |
2024-10-17 | httpd: Bug fix close unused file descriptor | 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-16 | httpd: Bug fix for not handling error code 400 properly | Anton Kling | |
2024-10-14 | httpd: Add /index.html support and better error handling | Anton Kling | |
2024-10-14 | ppm: Fix bounds checking | Anton Kling | |
2024-10-14 | kernel: small bug fixes | Anton Kling | |
2024-10-14 | kernel: stuff | Anton Kling | |
2024-10-14 | TCP: Don't free buffer prematurely | Anton Kling | |