From d52c3d119dbbbf2a9573e7698a878cf74afdd08c Mon Sep 17 00:00:00 2001 From: Miguel Date: Fri, 31 Aug 2018 14:31:48 +0200 Subject: doxy and alignment --- asm/multiboot.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 asm/multiboot.h (limited to 'asm/multiboot.h') 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(); + -- cgit v1.2.3