aboutsummaryrefslogtreecommitdiff
path: root/kernel/include/boot/multiboot_macros.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/include/boot/multiboot_macros.h')
-rw-r--r--kernel/include/boot/multiboot_macros.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/kernel/include/boot/multiboot_macros.h b/kernel/include/boot/multiboot_macros.h
new file mode 100644
index 0000000..1ca6383
--- /dev/null
+++ b/kernel/include/boot/multiboot_macros.h
@@ -0,0 +1,6 @@
+#pragma once
+
+// random macro for multiboot header
+#define TAG_SIZE(x) (((x)-1) / MULTIBOOT_TAG_ALIGN + 1)
+
+extern struct multiboot_tag *mb_tag;