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:
anna 2021-10-23 00:56:49 +02:00
parent 96378f019c
commit 743424d15f
Signed by: fef
GPG key ID: EC22E476DC2D3D84
6 changed files with 299 additions and 169 deletions

View file

@ -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;