mbed-os

Fork of mbed-os by erkin yucel

Committer:
elessair
Date:
Sun Oct 23 15:10:02 2016 +0000
Revision:
0:f269e3021894
Initial commit

Who changed what in which revision?

UserRevisionLine numberNew contents of line
elessair 0:f269e3021894 1 === Tasks ===
elessair 0:f269e3021894 2
elessair 0:f269e3021894 3 ^ os_tsk.new->task_id ^ Tasks ^ Stack Size ^
elessair 0:f269e3021894 4 | 0x01 | Main | 4*OS_MAINSTKSIZE |
elessair 0:f269e3021894 5 | 0x02 | Timer | 4*OS_TIMERSTKSZ |
elessair 0:f269e3021894 6 | 0xFF | Idle | 4*OS_STKSIZE |
elessair 0:f269e3021894 7
elessair 0:f269e3021894 8 ----------
elessair 0:f269e3021894 9 |
elessair 0:f269e3021894 10 V os_tsk.run->tsk_stack
elessair 0:f269e3021894 11
elessair 0:f269e3021894 12
elessair 0:f269e3021894 13 MAGIC_WORD os_tsk.run->stack[0]
elessair 0:f269e3021894 14 ----------
elessair 0:f269e3021894 15
elessair 0:f269e3021894 16 The current task structure is always pointed by:
elessair 0:f269e3021894 17 struct OS_TSK os_tsk;
elessair 0:f269e3021894 18
elessair 0:f269e3021894 19 === Init Sequence ===
elessair 0:f269e3021894 20 OS:
elessair 0:f269e3021894 21 * osKernelInitialize
elessair 0:f269e3021894 22 * rt_sys_init
elessair 0:f269e3021894 23 * rt_init_context
elessair 0:f269e3021894 24 * rt_init_stack
elessair 0:f269e3021894 25 * rt_set_PSP
elessair 0:f269e3021894 26 * rt_init_robin
elessair 0:f269e3021894 27 * rt_svc_init
elessair 0:f269e3021894 28
elessair 0:f269e3021894 29 * set_main_stack
elessair 0:f269e3021894 30
elessair 0:f269e3021894 31 * osThreadCreate(os_thread_def_main)
elessair 0:f269e3021894 32 * rt_tsk_create
elessair 0:f269e3021894 33 * rt_init_context
elessair 0:f269e3021894 34 * rt_init_stack
elessair 0:f269e3021894 35 * rt_dispatch
elessair 0:f269e3021894 36
elessair 0:f269e3021894 37 * osKernelStart