summaryrefslogtreecommitdiff
path: root/src/include/mem.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/mem.h')
-rw-r--r--src/include/mem.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/include/mem.h b/src/include/mem.h
new file mode 100644
index 0000000000..e8f633b25a
--- /dev/null
+++ b/src/include/mem.h
@@ -0,0 +1,13 @@
+#ifndef MEM_H
+#define MEM_H
+
+struct mem_range {
+ unsigned long basek;
+ unsigned long sizek;
+};
+
+/* mem_range arrays are non-overlapping, in ascending order and null terminated */
+
+struct mem_range *sizeram(void);
+
+#endif /* MEM_H */