summaryrefslogtreecommitdiff
path: root/kernel/sched/scheduler.c
AgeCommit message (Collapse)Author
2024-04-29Kernel/Socket: Move sockets back to being file descriptorsAnton 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-18Kernel: Fix compiler warningsAnton 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-12Kernel/MMU: Dellocate pagedirectory when process exits.Anton 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-26Increase support for signalsAnton Kling
2024-03-25Random changesAnton Kling
2024-03-17stuffAnton Kling
2024-03-14random changes madeAnton Kling
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-21Kerenel: Cleanup halt checking codeAnton Kling
2024-02-21New clang-format optionsAnton 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-07A lot of small changesAnton 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-15Kernel/LibC: Add chdir function and syscallAnton Kling
2023-11-10Kernel Style: Change uint*_t -> u*Anton Kling
2023-11-09Kernel: Initalize the file descriptor pointers in the proess struct toAnton Kling
zero.
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.