System Initialization


Functions

void rt_system_tick_init ()
rt_err_t rt_system_device_init ()
void rt_thread_idle_init ()
void rt_system_ipc_init ()
void rt_system_heap_init (void *begin_addr, void *end_addr)
void rt_system_object_init (void)
void rt_system_scheduler_init (void)
void rt_system_timer_init ()

Detailed Description

When RT-Thread operating system starts up, the basic operating system facility initialization routines must be invoked.

Function Documentation

rt_err_t rt_system_device_init (  ) 

This function initializes device system.

Returns:
RT_EOK on initialization successful.

void rt_system_heap_init ( void *  begin_addr,
void *  end_addr 
)

This function will init system heap

Parameters:
begin_addr the beginning address of system page
end_addr the end address of system page

void rt_system_ipc_init (  ) 

This function will init IPC module.

void rt_system_object_init ( void   ) 

This function will initialize system object management

void rt_system_scheduler_init ( void   ) 

This function will init the system scheduler

void rt_system_tick_init ( void   ) 

This function will init system tick and set it to zero.

void rt_system_timer_init ( void   ) 

This function will init system timer

void rt_thread_idle_init ( void   ) 

This function will initialize idle thread, then start it.

Note:
this function must be invoked when system init.


Generated on Thu Oct 9 07:19:09 2008 for RT-Thread Kernel by  doxygen 1.5.7