summaryrefslogtreecommitdiff
path: root/kernel/drivers
AgeCommit message (Collapse)Author
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-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-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-07Remove sti and cli inline assemblyAnton Kling
2024-02-07A lot of small changesAnton Kling
2023-11-28Meta: Apply new clang-format rules to kernelAnton Kling
2023-11-22Networking: Split network packets if they are too largeAnton Kling
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-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.
2023-11-17Kernel: Add isatty syscallAnton Kling
2023-11-15PCI: Add interrupt handler functionsAnton Kling
2023-11-13AHCI: Add write function.Anton Kling
This also changes the ext2 filesystem so it will now write to the file it mounted. Currently the file mounted is /dev/sda which points to a SATA drive.
2023-11-13Kernel: Add support for AHCI and make use of it with the current filesystem.Anton Kling
It will now also create a corresponding /dev/sd* device for each detected SATA drive. The filesystem still writes using the ATA driver. This should be fixed soon.
2023-11-13Memory: Fix problem where certain tables did not get marked as kernel.Anton Kling
This caused the tables to be cloned instead of having the pointer copied on the new page directory creations. This is just a solution to the symptom of having a bad design for memory managment. Maybe I will figure out something better.
2023-11-12AHCI: Add very basic AHCI and some additional helper functions to mmu.cAnton Kling
Currently certain parts of the code are taken from osdev wiki as there seems to be very little documentation that I can find on how H2D FIS is structured. Those parts, especially some of the uglier parts of the example code will be rewritten/changed.
2023-11-12Kernel/PCI: Add functions for getting BAR and specific PCI devices byAnton Kling
class
2023-11-10Kernel Style: Change uint*_t -> u*Anton Kling
2023-10-31Kernel: Remove all O0 optimizations on functions.Anton Kling
The kernel can now fully compile under O3 without any noticable problems :)
2023-10-31Meta: Move kernel and userland to their own folders.Anton Kling
This is to allow both the kernel and the userland to share certain header files and to make the folder structure a bit more clear.