diff options
| author | Jon Santmyer <jon@jonsantmyer.com> | 2026-09-04 21:38:16 -0400 |
|---|---|---|
| committer | Jon Santmyer <jon@jonsantmyer.com> | 2026-09-04 21:38:16 -0400 |
| commit | 69a27cf95a8a8e3bbbd5e3d81a36893bf312cf3e (patch) | |
| tree | 47ff56106345e43fbb5184071c8fe72987fe62bb /arch/x86_64/boot/limine/framebuffer.c | |
| parent | 1768abb217f974cf96448ee847453b604800c546 (diff) | |
| download | jove-kernel-69a27cf95a8a8e3bbbd5e3d81a36893bf312cf3e.tar.gz jove-kernel-69a27cf95a8a8e3bbbd5e3d81a36893bf312cf3e.tar.bz2 jove-kernel-69a27cf95a8a8e3bbbd5e3d81a36893bf312cf3e.zip | |
add usermode jump into init
Diffstat (limited to 'arch/x86_64/boot/limine/framebuffer.c')
| -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)); |
