Aufgabe 1: Ein-/Ausgabe

startup.h File Reference

Startup of the first core, also known as bootstrap processor (BSP) More...

#include "compiler/fix.h"
+ Include dependency graph for startup.h:
+ This graph shows which files directly or indirectly include this file:

Functions

void startup_bsp () ERROR_ON_CALL("The kernel entry point shall never be called from your code!")
 Entry point of your kernel.
 
void kernel_init () ERROR_ON_CALL("The kernel init function shall never be called from your code!")
 Initializes the C++ environment and detects system components.
 
int main ()
 Kernels main function.
 
int main_ap ()
 Entry point for application processors.
 

Detailed Description

Startup of the first core, also known as bootstrap processor (BSP)

Function Documentation

int main ( )

Kernels main function.

Called after initialization of the system by kernel_init()

Note
This code will only be executed on the booting CPU (i.e., the one with ID 0).
int main_ap ( )

Entry point for application processors.

Called after initialization of the system by kernel_init()

Note
Code in this function will be executed on all APs (i.e., all CPUs except ID 0)