summaryrefslogtreecommitdiff
path: root/asm/start.h
diff options
context:
space:
mode:
authorMiguel <m.i@gmx.at>2018-09-02 00:08:42 +0200
committerMiguel <m.i@gmx.at>2018-09-02 00:08:42 +0200
commit8e3411139b27a3421e9ac75c13f14f99f6dd3137 (patch)
treecf8b53ab02863117c310bde11ee4683e134cf1b2 /asm/start.h
parent0fff2e6dc6fae82da1c7978918a490c25cc36f04 (diff)
syscalls
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();
+