summaryrefslogtreecommitdiff
path: root/kernel
AgeCommit message (Collapse)Author
2024-06-23Kernel: Fix small out of memory issuesAnton Kling
2024-06-22Kernel: Use correct types for syscallAnton Kling
The previous type was a 64 bit which causes problems for the syscall calling interface.
2024-06-22Kernel stuffAnton Kling
2024-06-17Improve PIT timer freqAnton Kling
2024-06-17Reorganize logging codeAnton Kling
2024-06-12Improve TCP blocking of requestsAnton Kling
2024-06-11TCP stuffAnton Kling
2024-06-09Bug fix: Avoid race condition for exited process recieving interruptsAnton Kling
2024-06-09Add UDPAnton Kling
2024-05-08ext2: Use LRU for block cacheAnton Kling
2024-05-06kmalloc: Add debug kmallocAnton Kling
2024-05-05Kernel: Clear more interrupts for mouse driverAnton Kling
I am not sure why the mouse requires interrupt line 2 to be cleared.
2024-05-05Kernel: Mask interrupts until they have a handlerAnton Kling
2024-05-04Bug: Ext2: Properly check bounds before doing reads.Anton Kling
2024-05-02Bug: Kernel: Bounds check array accessAnton Kling
2024-05-02Kernel/MMU: Flush TLB after having made allocationsAnton Kling
2024-05-01Kernel/Keyboard: Only write to buffer after it is initializedAnton Kling
2024-05-01Bug: Kernel/MMU: Initialize memory after allocationAnton Kling
The memory not being zeroed caused certain flags to be set(presumably no-cache flag) and resulted in the OS being unusually for only certain operations and only in certain cases.
2024-05-01Bug: Kernel/TCP: Initalize the tcp header.Anton Kling
2024-04-29Kernel/LibC: Remove unused syscallsAnton Kling
2024-04-29Kernel/IRC: Add setsockopt and move IRC client to use new socket interfaceAnton Kling
2024-04-29Kernel/Socket: Move sockets back to being file descriptorsAnton Kling
2024-04-29Kernel/TCP: Increment seq number after sending SYN|ACKAnton Kling
2024-04-28Kernel: Use ringbuffer for keyboard and mouse eventsAnton Kling
2024-04-28Kernel: Use ringbuffer for handling incoming socket dataAnton Kling
2024-04-27Kernel: Ensure new kernel tables geet allocated for all current page directoriesAnton Kling
2024-04-27Kernel: Make "relist" able to dynamically resizeAnton Kling
2024-04-27Kernel: Make file descriptor numbers reusable.Anton Kling
Instead of using the "append only" list it now uses "relist" which allows for indexes to be removed.
2024-04-26Kernel/VFS: Change polling from variables to functionsAnton Kling
Instead of having to store state in variables functions are called to check the object directly.
2024-04-26Kernel: clang format fixesAnton Kling
2024-04-26Kernel: More out of memory condition checksAnton Kling
2024-04-26Kernel: Handle userspace memory errors instead of crashing.Anton Kling
The kernel should kill the process if it has memory issues.
2024-04-26Kernel: Improve error handling for out of memory conditionsAnton Kling
2024-04-25Kernel: Add a ringbufferAnton Kling
This will be used later
2024-04-23VFS: Fix reference count of file descriptors.Anton Kling
It appears that there was a race condition where the process got closed before the server accepted the incoming request. Causing the file descriptor to have "0" in the reference count but it would still be given when calling accept.
2024-04-22MMU: Extra asserts to avoid future regressionsAnton Kling
2024-04-18LibC/Kernel: Move lseek/seek to kernelAnton Kling
2024-04-18Kernel: Fix compiler warningsAnton Kling
2024-04-18Ext2: Fix uninitalized memory when reading inode headerAnton Kling
2024-04-17VFS/LibC: Fix small bugsAnton Kling
2024-04-17Kernel/ext2: Fix small bugs in ext2 fs implementation.Anton Kling
2024-04-17Kernel/LibC: Add fstat() and remove stat() syscallAnton Kling
2024-04-16Kernel: Improve "out of memory" error handlingAnton 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-15Bug fix and cleanup.Anton Kling
2024-04-13Kernel: Don't hard fail if the kernel can't allocate memory.Anton Kling
Currently this is just a improvement of error handling but it should also try to free up memory where it is possible.
2024-04-13Kernel/MMU: Optimize search for free frames.Anton Kling
This can significantly cut down on the search space for unallocated frames. But it has not been benchmarked so I am unsure if it makes a big difference.
2024-04-12Kernel/MMU: Dellocate pagedirectory when process exits.Anton Kling
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