Commit graph vbos/include/kernel/rbtree.h
Author SHA1 Message Date
Michael Shaw
aac47e60f3 proc: free pages and fds after proc termination 2023-11-22 21:55:52 -05:00
Michael Shaw
823f811954 mmap: generalize mmap
also add a range search function to ensure that memory allocations do
not overlap in virtual space
2023-11-15 16:56:29 -05:00
Michael Shaw
2fe0b0068b sched: begin scheduling module 2023-11-13 22:23:06 -05:00
Michael Shaw
06b02fc9a6 kmalloc: add fallback for failed DMA allocations 2023-11-03 14:43:53 -04:00
Michael Shaw
4dc4f07dc6 mem: improve device memory mapping
MMIO ports will no longer directly map to HHDM addresses and will need
to be searched for in the memory mapping tree
2023-10-24 22:16:33 -04:00
Michael Shaw
db5990cc97 mem: add locks to kernel memory management structures 2023-05-27 02:11:27 -04:00
Michael Shaw
82c32011b4 rbtree: fix previously flawed implementation
got book'd up

Signed-off-by: Michael Shaw <spencershawiscool@gmail.com>
2023-05-11 12:51:14 -04:00
Michael Shaw
ea1c1b337d rbt: remove verify function 2023-05-10 21:57:40 -04:00
Michael Shaw
4e36cfd90b lib: add rbtree data structure
This also switches the kmalloc allocator over to the new rbtree
structure. As a balanced binary search tree, it is much more efficient
than the previous method
2023-05-10 21:24:19 -04:00