summaryrefslogtreecommitdiff
path: root/kernel/include
diff options
context:
space:
mode:
authorFreya Murphy <freya@freyacat.org>2025-04-03 22:19:32 -0400
committerFreya Murphy <freya@freyacat.org>2025-04-03 22:19:32 -0400
commit876970bcfd69ed3742d1a47640aa551578f22919 (patch)
tree2dddbc00f9ffccf687f1e5f1055e19b3939a73a3 /kernel/include
parentadd 64-bit idt/pic and fix paging (diff)
downloadcomus-876970bcfd69ed3742d1a47640aa551578f22919.tar.gz
comus-876970bcfd69ed3742d1a47640aa551578f22919.tar.bz2
comus-876970bcfd69ed3742d1a47640aa551578f22919.zip
load multiboot memory map, heap is done!!!
Diffstat (limited to 'kernel/include')
-rw-r--r--kernel/include/comus/mboot.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/kernel/include/comus/mboot.h b/kernel/include/comus/mboot.h
new file mode 100644
index 0000000..f89427e
--- /dev/null
+++ b/kernel/include/comus/mboot.h
@@ -0,0 +1,16 @@
+/**
+ * @file mboot.h
+ *
+ * @author Freya Murphy <freya@freyacat.org>
+ *
+ * Multiboot functions
+ */
+
+#ifndef MBOOT_H_
+#define MBOOT_H_
+
+#include <comus/memory.h>
+
+void mboot_load_mmap(volatile void *mboot, struct memory_map *map);
+
+#endif /* mboot.h */