mm: fix page frame allocator bugs
This also includes a minor refactor of everything, as well as some optimizations. The bitmap operations have been moved into a separate file because they are probably gonna come in handy in other parts of the system as well.
This commit is contained in:
parent
96378f019c
commit
743424d15f
6 changed files with 299 additions and 169 deletions
|
|
@ -3,6 +3,7 @@
|
|||
#include <gay/kprintf.h>
|
||||
#include <gay/mm.h>
|
||||
#include <gay/types.h>
|
||||
#include <gay/util.h>
|
||||
|
||||
extern void _image_start_phys;
|
||||
extern void _image_end_phys;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue