aboutsummaryrefslogtreecommitdiff
path: root/kernel/inc
diff options
context:
space:
mode:
authorMarvin Borner2021-03-20 19:52:56 +0100
committerMarvin Borner2021-03-20 19:52:56 +0100
commitb96c27bba0b242fc860fc9a2fcb63f121312fa7e (patch)
tree0febf9d97020f131055ee41fe6d8b8bd6593045a /kernel/inc
parent635751fc2a75f66d1541469b3204efb1701bd91c (diff)
LGTM!
Diffstat (limited to 'kernel/inc')
-rw-r--r--kernel/inc/fb.h2
-rw-r--r--kernel/inc/mm.h9
2 files changed, 9 insertions, 2 deletions
diff --git a/kernel/inc/fb.h b/kernel/inc/fb.h
index 212230b..3b545fd 100644
--- a/kernel/inc/fb.h
+++ b/kernel/inc/fb.h
@@ -4,7 +4,9 @@
#define FB_H
#include <boot.h>
+#include <mm.h>
+void fb_map_buffer(struct page_dir *dir, struct vid_info *boot);
void fb_install(struct vid_info *boot);
#endif
diff --git a/kernel/inc/mm.h b/kernel/inc/mm.h
index 98dcf46..5a307b2 100644
--- a/kernel/inc/mm.h
+++ b/kernel/inc/mm.h
@@ -13,6 +13,13 @@ struct memory_range {
};
/**
+ * Lowlevel paging
+ */
+
+void paging_enable(void);
+void page_fault_handler(struct regs *r);
+
+/**
* Physical
*/
@@ -109,6 +116,4 @@ u8 memory_valid(const void *addr);
void memory_install(struct mem_info *mem_info, struct vid_info *vid_info);
-void page_fault_handler(struct regs *r);
-
#endif