vmm: The PAT flag was accidentally set for 4KiB pages

This commit is contained in:
mintsuki 2021-04-20 06:11:02 +02:00
parent 8c28d8ff3d
commit b3e4c49e57

View File

@ -66,5 +66,5 @@ level4:
pml1 = get_next_level(pml2, pml2_entry);
pml1[pml1_entry] = (pt_entry_t)(phys_addr | flags | (1 << 7));
pml1[pml1_entry] = (pt_entry_t)(phys_addr | flags);
}