diff options
Diffstat (limited to 'arch/x86_64/boot/limine')
| -rw-r--r-- | arch/x86_64/boot/limine/framebuffer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86_64/boot/limine/framebuffer.c b/arch/x86_64/boot/limine/framebuffer.c index ea7c714..85c3f43 100644 --- a/arch/x86_64/boot/limine/framebuffer.c +++ b/arch/x86_64/boot/limine/framebuffer.c @@ -52,7 +52,7 @@ fb_remap(uintptr_t fb_address, size_t pml1 = pml0 >> 9; size_t pml0_mod = pml0 % 512; uintptr_t pml0_pptr = fb_address + (pml0 << 12); - fb_pml1[pml1][pml0_mod].value = pml0_pptr | PAGE_PRESENT | PAGE_GLOBAL | PAGE_WRITEABLE; + fb_pml1[pml1][pml0_mod].value = pml0_pptr | PAGE_PRESENT | PAGE_GLOBAL | PAGE_WRITEABLE | PAGE_WRITETHROUGH | PAGE_XD; } uintptr_t fb_virt = IDENT_VIRT_BASE | (511ULL << PMLI_SHL(3)); |
