aboutsummaryrefslogtreecommitdiff
path: root/kernel/inc/boot.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/inc/boot.h')
-rw-r--r--kernel/inc/boot.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/kernel/inc/boot.h b/kernel/inc/boot.h
index 6bacc31..052a56f 100644
--- a/kernel/inc/boot.h
+++ b/kernel/inc/boot.h
@@ -12,4 +12,28 @@ struct vid_info {
u32 *vbe;
};
+enum mmap_type {
+ MEMORY_AVAILABLE = 1,
+ MEMORY_RESERVED,
+ MEMORY_ACPI,
+ MEMORY_NVS,
+ MEMORY_DEFECT,
+ MEMORY_DISABLED
+};
+
+struct mmap_boot {
+ u32 lbase;
+ u32 hbase;
+ u32 lsize;
+ u32 hsize;
+ u32 type;
+ u32 acpi;
+};
+
+struct mem_info {
+ struct mmap_boot *start;
+ u32 *end;
+ u32 size;
+};
+
#endif