smol fix, time to use cow
This commit is contained in:
@@ -207,7 +207,7 @@ void setMapping(uintptr_t vaddr, void* frame, four_lvl_paging_t* flpt, bool writ
|
|||||||
assert(!(lvl1->entries[l1Index].present)); // should not be present, bc its a new mapping
|
assert(!(lvl1->entries[l1Index].present)); // should not be present, bc its a new mapping
|
||||||
lvl1->entries[l1Index] = {
|
lvl1->entries[l1Index] = {
|
||||||
.present = 1,
|
.present = 1,
|
||||||
.write = writeable,
|
.write = write,
|
||||||
.user = 1,
|
.user = 1,
|
||||||
.address = (uintptr_t)frame >> 12
|
.address = (uintptr_t)frame >> 12
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user