Michael Shaw
b8fa30c8ed
mem: change buddy allocator api
...
the buddy allocator now returns HHDM addresses as void* rather than
zero-based adddresses as paddr_t. it also automatically searches regions
now, rather than requiring a (struct mem_region_header *) for each
alloc/free
2023-04-13 17:36:04 -04:00
Michael Shaw
4f4af0946d
mem: implement buddy allocator
2023-04-12 13:58:22 -04:00
Michael Shaw
d5f388208c
mem: formatting fix
2023-03-09 01:59:21 -05:00
Michael Shaw
bb76bcac6c
Modify to allow unmapping easily
2023-03-05 17:02:02 -05:00
Michael Shaw
705abf3234
mem: fixed memory mapping bugs with kmap
...
function `kmap` is now capable of reliably mapping physical addresses to
virtual addresses
Signed-off-by: Michael Shaw <spencershawiscool@gmail.com>
2023-03-04 22:42:08 -05:00
Michael Shaw
ffddd592da
mem: begin work on pager
2023-03-04 16:46:33 -05:00
Michael Shaw
2b9d76d015
mem: add page entry type
2023-03-01 14:20:13 -05:00