summaryrefslogtreecommitdiff
path: root/src/arch/amd64/mboot.h
diff options
context:
space:
mode:
authorFreya Murphy <freya@freyacat.org>2024-01-28 19:22:09 -0500
committerFreya Murphy <freya@freyacat.org>2024-01-28 19:22:09 -0500
commit6957948f3af47f5b57770ac1692843bba768c285 (patch)
tree247d3709d6414fa68a582b9bd6e8deb62547760c /src/arch/amd64/mboot.h
parentMerge remote-tracking branch 'origin/main' (diff)
downloadcorn-6957948f3af47f5b57770ac1692843bba768c285.tar.gz
corn-6957948f3af47f5b57770ac1692843bba768c285.tar.bz2
corn-6957948f3af47f5b57770ac1692843bba768c285.zip
memory changes
Diffstat (limited to 'src/arch/amd64/mboot.h')
-rw-r--r--src/arch/amd64/mboot.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/arch/amd64/mboot.h b/src/arch/amd64/mboot.h
index 88348f5..2d8c53c 100644
--- a/src/arch/amd64/mboot.h
+++ b/src/arch/amd64/mboot.h
@@ -1,5 +1,6 @@
#pragma once
+#include "memory.h"
#include <stdint.h>
#define CMDLINE_MAX 32
@@ -10,12 +11,14 @@ struct mboot_tag {
uint32_t size;
union {
char cmdline[CMDLINE_MAX + 1];
+ struct memory_map *memory_map;
void *rootsdp;
} data;
};
enum mboot_tag_type {
MBOOT_CMDLINE = 0,
+ MBOOT_MEMORYMAP = 6,
MBOOT_XSDP = 14
};