summaryrefslogtreecommitdiff
path: root/kernel/paging.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/paging.c')
-rwxr-xr-xkernel/paging.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/paging.c b/kernel/paging.c
index ca09936..88da0ab 100755
--- a/kernel/paging.c
+++ b/kernel/paging.c
@@ -5,6 +5,7 @@
void paging_reinit() {
map_p1.l[(uint32_t)&map_p2 >> 12] = (uint32_t)&entry_map_p2 | P1_P | P1_W | P1_G;
+ map_p1.l[(uint32_t)&framebuffer >> 12] = 0xb8000 | P1_P | P1_W | P1_G;
invlpg(&map_p2);