summaryrefslogtreecommitdiff
path: root/kernel/include
diff options
context:
space:
mode:
authorFreya Murphy <freya@freyacat.org>2025-05-06 12:34:48 -0400
committerFreya Murphy <freya@freyacat.org>2025-05-06 12:35:41 -0400
commit40bfcbb2cf8a39e58ec19b21956caaf4685c9b8b (patch)
tree3e2b5aa933b9f06ad1ed7aca2f63b0d79d36fa02 /kernel/include
parentremove sym lookup (diff)
downloadcomus-40bfcbb2cf8a39e58ec19b21956caaf4685c9b8b.tar.gz
comus-40bfcbb2cf8a39e58ec19b21956caaf4685c9b8b.tar.bz2
comus-40bfcbb2cf8a39e58ec19b21956caaf4685c9b8b.zip
terrible hack to not overwrite mboot data
Diffstat (limited to 'kernel/include')
-rw-r--r--kernel/include/comus/mboot.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/kernel/include/comus/mboot.h b/kernel/include/comus/mboot.h
index aba3e4e..bed29f1 100644
--- a/kernel/include/comus/mboot.h
+++ b/kernel/include/comus/mboot.h
@@ -47,4 +47,14 @@ EFI_HANDLE mboot_get_efi_hdl(void);
*/
void *mboot_get_initrd(size_t *len);
+/**
+ * Returns the physical pointer to the loaded init ram disk with size given by len
+ */
+void *mboot_get_initrd_phys(size_t *len);
+
+/**
+ * Gets the end of the mboot pointer
+ */
+void *mboot_end(void);
+
#endif /* mboot.h */