Kernel 的sheduler好像是在 NK\KERNEL\scheduler.c 中的 SystemStartupFunc ( )
- 在pROM 結構中找到sharedll 區域的位置
 - Alloc Memory
 - Load coredll.dll
 - 在load 到memory 的coredll.dll 中找到需要的一些function pointer ( 用 function index的方法 )。
 - Create Kernel need synchronize object - event, critical section..
 - CreateThread : PowerHandlerGuardThrd,
 - Load shimeng.dll
 - CreateThread : CleanDirtyPagesThread
 - CreateThread : RunApp
 - Endless While - Wait Alarm (Time limit - oneday), give CleanDirtyPages a chance to run.
 
- CreateProcess : filesys.exe <-- this is the very 1st process Lives after nk.exe
 
沒有留言:
張貼留言