aboutsummaryrefslogtreecommitdiffstats
path: root/bootloader/memorytypes.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--bootloader/memorytypes.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/bootloader/memorytypes.h b/bootloader/memorytypes.h
new file mode 100644
index 0000000..53ba8fb
--- /dev/null
+++ b/bootloader/memorytypes.h
@@ -0,0 +1,12 @@
+#ifndef MEMORYTYPES_H
+#define MEMORYTYPES_H
+
+// memory types to mark the pages as of specific types
+// the specification allows custom types that are bigger than 0x80000000
+
+#define MEM_KERNEL 0x80000010
+#define MEM_RAMDISK 0x80000020
+#define MEM_ARGS 0x80000030
+#define MEM_PAGING 0x80000040
+
+#endif // MEMORYTYPES_H