main.c File Reference

Main initialization kernel function for all processors. More...

Include dependency graph for main.c:

Go to the source code of this file.

Defines

#define CONFIG_STACK_SIZE   ((1<<STACK_FRAMES)*STACK_SIZE)

Functions

void main_bsp (void)
void main_ap (void)
static void main_bsp_separated_stack (void)
static void main_ap_separated_stack (void)

Variables

config_t config
init_t init
context_t ctx
__address hardcoded_load_address = 0
size_t hardcoded_ktext_size = 0
size_t hardcoded_kdata_size = 0


Detailed Description

During kernel boot, all processors, after architecture dependent initialization, start executing code found in this file. After bringing up all subsystems, control is passed to scheduler().

The bootstrap processor starts executing main_bsp() while the application processors start executing main_ap().

See also:
scheduler()

main_bsp()

main_ap()

Definition in file main.c.


Generated on Sun Jun 18 17:20:05 2006 for HelenOS Kernel (ppc32) by  doxygen 1.4.6