summaryrefslogtreecommitdiff
path: root/include/early/bump.h
diff options
context:
space:
mode:
authorNathan Lee <me@nwlee.tech>2026-08-12 17:44:17 -0500
committerNathan Lee <me@nwlee.tech>2026-08-12 17:44:17 -0500
commit2c0efd93530c472e96ff3529aee983b53f3b78d9 (patch)
treecc36e7334e162ba67df79333e267ac93b4d984b9 /include/early/bump.h
parent640a81b3ee366c651286efd1b80b37992cd53282 (diff)
rework project structure
Diffstat (limited to 'include/early/bump.h')
-rw-r--r--include/early/bump.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/early/bump.h b/include/early/bump.h
new file mode 100644
index 0000000..bf3e6f9
--- /dev/null
+++ b/include/early/bump.h
@@ -0,0 +1,9 @@
+#pragma once
+#include <sys/stddef.h>
+#include <early/dtb.h>
+#define EHEAP_SIZE (512 * 1024)
+
+
+void* kemalloc(size_t size);
+struct mem_info *km_find_memory(struct dt_node *head);
+