VxWorks引导程序启动详细过程bootromuncmpbin.docx
《VxWorks引导程序启动详细过程bootromuncmpbin.docx》由会员分享,可在线阅读,更多相关《VxWorks引导程序启动详细过程bootromuncmpbin.docx(18页珍藏版)》请在冰豆网上搜索。
VxWorks引导程序启动详细过程bootromuncmpbin
VxWorks引导程序启动详细过程(bootrom_uncmp.bin)
系统上电
=====
|romInit.s->romInit():
|
|
|
|bootInit.c->romStart(intstartType):
|
|
|
|
|bootConfig.c->usrInit(intstartType):
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|sysLib.c->sysHwInit():
|
|
|
|
|
|
|
|
|
|
|
|usrKernel.c->usrKernelInit(void)
|
|bootConfig.c->usrRoot(char*pMemPoolStart,unsignedmemPoolSize):
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|bootConfig.c->voidbootCmdLoop(void):
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|