12 Commits

Author SHA1 Message Date
dc2fe698a3
Added oneshot timer functionality. Added sleep function. Added proper tracking of physical pages allocated. Made the 0th page invalid. Fixed a 4KiB memory leak when destroying processes. Fixed scrolling colour in terminal.cpp 2022-04-15 16:15:51 +01:00
73c0fe429f
Add ability for other processes to bind to eachother's stdin and stdout. Add PoC for this functionality 2022-01-17 19:43:13 +00:00
57768784a6
Fixed context_switch's handling of the processes linked list, update idt.cpp to add getPID syscall, update memory.cpp to fix but where find_next_available_from would incorrectly return invalid memory locations 2021-12-08 18:49:25 +00:00
2ecc53ee91
Moved processes to be in ring 3 2021-12-02 19:36:52 +00:00
a9ec673b24
Implemented necessary changes for Process destruction. Processes clean up their memory when deleted. 2021-12-01 17:05:46 +00:00
ed67adc9c9
Updated kernel to now have its stack past 0xc0000000. Implemented context switching. 2021-11-26 20:20:15 +00:00
bfa3f3030f
Initial work on dynamically creating Processes in preparation for implementing context switching 2021-11-12 00:30:10 +00:00
c10c3690a5
A huge amount of changes and additions. Added xnoe::Maybe, fixed xnoe::linkedlist and xnoe::linkedlistelem, fixed bug in Allocator::deallocate, update Process::allocate, implement Process::deallocate, fix operator delete, add Global namespace and Global::allocator, update new, delete, new\[\] and delete\[\], add AllocTracker, etc. Allocations now work how I want them to :D 2021-11-10 18:31:00 +00:00
b4375d1269
Initial version of Allocator complete. Added new, delete, new\[\] and delete\[\]. Preparations for Process and Kernel made 2021-10-25 20:59:49 +01:00
e6e156e255
Implement Allocator. Add virtual page map. Fix PageMap class. 2021-10-25 16:29:53 +01:00
f2e09e98a7 Started work on Allocator class. Update PageMap 2021-10-25 01:13:29 +01:00
9c887a3a50
Began the process of moving XnoeOS to using more OOP constructs. Added PageDirectory class. Added PageTable class. Added tuple data type. Added beginnings of the skeleton for Allocator and Process. 2021-10-23 01:34:54 +01:00