theCore C++ embedded framework
kernel_stubs.c File Reference

Collection of kernel stubs. More...

Functions

int early_main ()
 Early-main routine performs final initialization steps. More...
 
void kernel_main ()
 

Detailed Description

Collection of kernel stubs.

This module suppplies the dummy kernel main routine in case if kernel isn't present or it's main routine shouldn't be called when initiliazing the Core.

Function Documentation

◆ early_main()

int early_main ( )

Early-main routine performs final initialization steps.

All global objects must be constructed before entering user's main routine. Kernel in responsible for calling early_main() after it (kernel) will be completely ready.

Todo:
Consider specifying it with noreturn attribute.
Here is the call graph for this function:

◆ kernel_main()

void kernel_main ( )
Here is the call graph for this function: