From 8e3411139b27a3421e9ac75c13f14f99f6dd3137 Mon Sep 17 00:00:00 2001 From: Miguel Date: Sun, 2 Sep 2018 00:08:42 +0200 Subject: syscalls --- asm/start.h | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'asm/start.h') 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(); + -- cgit v1.2.3