summaryrefslogtreecommitdiff
path: root/asm/multiboot.h
diff options
context:
space:
mode:
Diffstat (limited to 'asm/multiboot.h')
-rw-r--r--asm/multiboot.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/asm/multiboot.h b/asm/multiboot.h
new file mode 100644
index 0000000..f2acaf1
--- /dev/null
+++ b/asm/multiboot.h
@@ -0,0 +1,16 @@
+/**
+ * @file
+ * _multiboot.s_ defines the following sections/functions, some are linked at
+ * specific addresses in the final ELF kernel binary.
+ * This is specified in the _linker.ld_ file.
+ *
+ * * 0x07000 .smp - entry point for application processors (16bit code)
+ * * 0x10000 .multiboot - the multiboot header
+ * * .text
+ * * .bootstrap_stack
+ * * _start() - main entry point for booting cpu, calls kernel_main().
+ */
+
+/** This will be called by a multiboot compilant boot-loader (i.e. grub2) */
+void _start();
+