summaryrefslogtreecommitdiff
path: root/kernel/paging.c
diff options
context:
space:
mode:
authorVegard Storheil Eriksen <zyp@jvnv.net>2010-02-04 23:07:25 +0100
committerVegard Storheil Eriksen <zyp@jvnv.net>2010-02-04 23:07:25 +0100
commitf36a96b59eddd066354018c4e6c6279897b33487 (patch)
tree3a55ab20f7e9f91e1131d0fa6873c0b92393af7f /kernel/paging.c
parent4b0929187b70588bcebfe004ab216f3590c01038 (diff)
Added framebuffer.
Output is now to a framebuffer instead of serial console.
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);