summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-04-11bug fixesAnton Kling
2024-04-02Kernel: Use "struct list" to handle file descriptors instead of a fixed ↵Anton Kling
sized array
2024-04-02Kernel: Fix some memory leaksAnton Kling
2024-03-28new stuffAnton Kling
2024-03-26Kernel: Improve kmalloc security and performanceAnton Kling
Fill new and freed allocations with random data unless it is allocated from kcalloc in which case it should be zero filled.
2024-03-26Increase support for signalsAnton Kling
2024-03-25Random changesAnton Kling
2024-03-25WindowServer: Add focus, minimize supportAnton Kling
2024-03-21libc: fix malloc implementationAnton Kling
I don't know what was wrong but memory allocations were failing. I removed the old code and replaced it with the malloc implementation which exists in the kernel. Now it doesn't crash so I guess it is fine ¯\_(ツ)_/¯
2024-03-20MMU: Fixed massive problem in assumption of RAM layoutAnton Kling
This caused certain addreses which where not RAM memory to be assigned to virtual addresses incorrectly. This caused a significant slowdown when running it with KVM due to constantly having to exit the VM if the OS writes to memory that is not RAM. This fix increased the performance of KVM significantly and improved TCG performance.
2024-03-19IRC: Add the IRC client I am working onAnton Kling
2024-03-17stuffAnton Kling
2024-03-14random changes madeAnton Kling
2024-03-02Kernel: 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-28TCP/UDP: Start rewrite of network socketsAnton Kling
Having sockets be file descriptors seems like a bad idea so I trying to make UDP and TCP sockets be more independent and not be abstracted away as much.
2024-02-25IPC: Inform the scheduler the process is waiting for a IPC messageAnton Kling
2024-02-22Kernel: 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-21Kernel: 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-21Kerenel: Cleanup halt checking codeAnton Kling
2024-02-21New clang-format optionsAnton Kling
2024-02-19Kernel: Change timing for context switchesAnton Kling
2024-02-19Kernel/VFS: Cleanup of file descriptor haltsAnton Kling
2024-02-17cleanupAnton Kling
2024-02-16General cleanupAnton Kling
2024-02-14Kernel: Update signal handling and IPCAnton Kling
2024-02-09Kernel/Interrupts: Restructure how interrupts are handeled in the kernelAnton Kling
Now all interrupts go through a common stub which will make certain signal handlers easier to implement
2024-02-07Minor fixAnton Kling
2024-02-07Kernel: poll() should skip invalid file descriptorsAnton Kling
2024-02-07Remove sti and cli inline assemblyAnton Kling
2024-02-07Add enable/disable interrupts functionAnton Kling
This is to reduce usage of inline assembly
2024-02-07A lot of small changesAnton Kling
2023-12-18Add untracked filesAnton Kling
2023-11-29Kernel: Zero initialize process struct during creationAnton Kling
2023-11-28Meta: Apply new clang-format rules to kernelAnton Kling
2023-11-28Kernel: Add basic IPC and move to microkernel design.Anton Kling
The IPC design is currently a WIP and is nowhere near complete
2023-11-25Kernel: Add stat syscallAnton Kling
forgot to add it before
2023-11-25Minibox shell: Change shell prompt to use cwdAnton Kling
2023-11-24LibC: Fill new allocations with random data and fix a bugAnton Kling
The bug was noticed as a result of this new randomization of allocations.
2023-11-24Refactor write() and pwrite()Anton Kling
2023-11-24Refactor open()Anton Kling
2023-11-23Kernel/LibC: Add randomfill() syscall.Anton Kling
This syscall aims to fill the given buffer with cryptographically secure random data. If the syscall returns and does not cause a page fault it will **always** have filled the buffer with random data and never gives back any error value.
2023-11-23LibC: Move assembly to its own file to avoid using inlineAnton Kling
This was a ugly hack and in this case it caused undefined behavior.
2023-11-23LibC: Reduce warnings in codeAnton Kling
2023-11-22Networking: Split network packets if they are too largeAnton Kling
2023-11-22Test: Add test case for realpath()Anton Kling
2023-11-22LibC: Add fflush() and buffer writes to file descriptorsAnton Kling
2023-11-22Meta: Use dirent as a general include fileAnton Kling
This include file is shared by the kernel and libc
2023-11-22Kernel/RTL8139/Networking fixesAnton Kling
This is just a commit containing multiple fixes since I am too lazy to split them up.
2023-11-22Kernel/LibC: Change file type detectionAnton Kling
2023-11-22Meta: Cleanup of header files such that they are partially sharedAnton Kling
The /include directory contains definitons that both the kernel and libc need to be in sync.