diff options
Diffstat (limited to 'src/kernel/page.c')
-rw-r--r-- | src/kernel/page.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kernel/page.c b/src/kernel/page.c index 3f6c4a8..dea3941 100644 --- a/src/kernel/page.c +++ b/src/kernel/page.c @@ -101,7 +101,7 @@ void unmap_lowmem() { entry[0].present = 0; } -void debug_print_memory() { +void debug_pzone() { struct memory_table *memtable = (void *)ZONE_MAP; printf(" __________________________________________________________________________\n"); printf("| type\tstart\t\t\tend\t\t\tsize\t\t |\n"); @@ -441,7 +441,7 @@ pmap_t *init_pmap(size_t pagetable_size) { pmap_size = (uint64_t)(pmap->buddy[pmap->max_buddy] + pmap->bsize[pmap->max_buddy]) - (uint64_t)pmap; first_pmap = pmap; //we spoof palloc into allocating from the specific required pmap. - palloc(pmap_size); + palloc(pmap_size); //TODO (MAJOR BUG) something isn't right, I don't think } } return pmap; |