blob: ff30326497924812f6eef88c1200d2ec5d65f3ae (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
/**
* @file
* 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.
*
* * 0x007000 .smp - entry point for application processors (16bit code)
* * 0x100000 .multiboot - the multiboot header
*
* * .text
* * .bootstrap_stack
* * _start() - main entry point for booting cpu, calls kernel_main().
*
* 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)
*/
/** This will be called by a multiboot compilant boot-loader (i.e. grub2) */
void _start();
|