summaryrefslogtreecommitdiff
path: root/asm/start.h
diff options
context:
space:
mode:
Diffstat (limited to 'asm/start.h')
-rw-r--r--asm/start.h14
1 files changed, 13 insertions, 1 deletions
diff --git a/asm/start.h b/asm/start.h
index ff30326..7b31b76 100644
--- a/asm/start.h
+++ b/asm/start.h
@@ -14,8 +14,20 @@
* The addresses for .smp and .multiboot are based on the assumption:
* * 0x00000500 - 0x00007BFF : guaranteed free to use
* * 0x00100000 - 0x00EFFFFF : free for use (if it exists)
+ *
+ * References
+ * ----------
+ * * https://www.gnu.org/software/grub/manual/multiboot/multiboot.html#Boot-information-format
+ * * http://wiki.osdev.org/Bare_Bones
*/
-/** This will be called by a multiboot compilant boot-loader (i.e. grub2) */
+/** This will be called by a multiboot compilant boot-loader (i.e. grub2).
+ * Calls kernel_main() passing through eax and ebx:
+ * * eax - magic number
+ * * ebx - multiboot structure
+ * */
void _start();
+/** 16-bit entry point for application processors */
+void _start_smp();
+