Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-11-13 | Crypto: Implement fast insecure RNG for overwritting memory areas. | Anton Kling | |
This is mainly done to test for uninitlalized memory and find bugs faster. Therefore it does not need to be cryptographically secure or perfectly uniform. Xoshiro256++ seems like a good fit. | |||
2023-11-13 | Kernel: Add typedefs.h | Anton Kling | |
2023-11-13 | ARP: Save the IP, MAC of incoming ARP requests | Anton Kling | |
2023-11-13 | Exceptions: Output CR2 on page fault | Anton Kling | |
2023-11-12 | AHCI: Add very basic AHCI and some additional helper functions to mmu.c | Anton 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-12 | Kernel/PCI: Add functions for getting BAR and specific PCI devices by | Anton Kling | |
class | |||
2023-11-10 | Ext2: Change char* to u8* where the type is referencing data and not a C | Anton Kling | |
string | |||
2023-11-10 | Kernel Style: Change uint*_t -> u* | Anton Kling | |
2023-11-10 | Kernel/Memory: Fill new allocations with random data. | Anton Kling | |
This should make it easier to spot uninitalized memory being used. | |||
2023-11-10 | Syscall: Cleanup code and remove dumb usage of get_vfs_fd. | Anton Kling | |
2023-11-10 | Kernel: Remove old dead code | Anton Kling | |
2023-11-10 | Kernel/fs: Dynamically allocate based upon file size. | Anton Kling | |
This commit also changes "unsigned char" to "char". A slight step in the direction of making my coding style less bipolar. | |||
2023-11-09 | Kernel/fs: Dynamically allocate depending upon file size of directory. | Anton Kling | |
This also solves a bug where the data_p pointer could get out of range due to incorrect assumptions being made about the ext2 directory layout. To be fair even a faulty ext2 directory layout should not be able to cause memory bugs. | |||
2023-11-09 | Kernel: Remove old comment | Anton Kling | |
2023-11-09 | Kernel: Initalize the file descriptor pointers in the proess struct to | Anton Kling | |
zero. | |||
2023-11-08 | Kerenl/MMU: Remove dumb bug as a result of uninitalized memory | Anton Kling | |
The kernel would randomly crash. Turns out I did not zero out the frames so my page allocator seemed to get into some weird state. | |||
2023-11-08 | Kernel/MMU: Detect system memory and dynamically adjust memory usage available | Anton Kling | |
Previously this would be hardcoded but now it can be detected by the bootloader and passed in via the multiboot header. | |||
2023-11-08 | Kernel/MMU: Detect system memory and dynamically adjust memory usage available | Anton Kling | |
Previously this would be hardcoded but now it can be detected by the bootloader and passed in via the multiboot header. | |||
2023-11-08 | Kernel/MMU: Create a seperate table for heap allocation | Anton Kling | |
2023-11-01 | Kernel: Add a simple TCP implementation | Anton Kling | |
2023-10-31 | Kernel: Remove all O0 optimizations on functions. | Anton Kling | |
The kernel can now fully compile under O3 without any noticable problems :) | |||
2023-10-31 | Kernel: Bug fix, infinite loop when checking string memory permissions | Anton Kling | |
If the string is pointed to a very exact location in memory the loop never finishes. | |||
2023-10-31 | Meta: Create simple build scripts for kernel, userland and general enviroment | Anton Kling | |
2023-10-31 | Meta: 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. |