summaryrefslogtreecommitdiff
path: root/asm/multiboot.h
diff options
context:
space:
mode:
authorMiguel <m.i@gmx.at>2018-08-31 14:31:48 +0200
committerMiguel <m.i@gmx.at>2018-08-31 14:31:48 +0200
commitd52c3d119dbbbf2a9573e7698a878cf74afdd08c (patch)
tree50b726883d79d97bf22beb446cdafb86d2d94d82 /asm/multiboot.h
parent1866d374e6f72edeb443556cb66e0b2ce3664eb9 (diff)
doxy and alignment
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();
+