mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-27 12:48:22 +00:00
mmu: fix newtable() pointer
This commit is contained in:
@@ -153,7 +153,7 @@ pagetableptr_t arch_mmu_newtable() {
|
||||
pagetableptr_t table = pmm_alloc(1, PMM_SECTION_DEFAULT);
|
||||
if (table == NULL)
|
||||
return NULL;
|
||||
memcpy(table, template, PAGE_SIZE);
|
||||
memcpy(MAKE_HHDM(table), template, PAGE_SIZE);
|
||||
return table;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user