mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-29 13:48:21 +00:00
pmm changes
This commit is contained in:
@@ -28,6 +28,7 @@ size_t* bitmap = 0;
|
||||
size_t usablememsize = 0;
|
||||
size_t totalmemsize = 0;
|
||||
void* lastfree = PAGE_SIZE;
|
||||
void* pmm_usabletop;
|
||||
int lock = 0;
|
||||
|
||||
static int getstate(void* addr){
|
||||
@@ -236,4 +237,6 @@ void pmm_init(){
|
||||
|
||||
pmm_setused(bitmap, bitmappages);
|
||||
|
||||
pmm_usabletop = bitmaptop;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user