【正文】
主要用于啟動(dòng)裝載VxWorks , ,.()()()sysHwInit()usrKernelInit()KernelInit(usrRoot,...) Activates a task tUsrRoot to plete initalization. 激活WDB目標(biāo)通信(Activate WDB agent)可選 Uses usrInit()stack. usrRoot() Text segmentexecutable instruction. 各個(gè)函數(shù)的主要作用 romInit()power up,disable interrupt,put boot type on the stack,clears caches.romStart()load Image Segments into RAM.usrInit()Interrupt lock out,save imformation about boot type,handle all the Initialization before the kernel is actually started,then starts the kernel execution to create an initial task usrRoot().This task pletes the start up.sysHwInit()Interrup locked,Initializes hardware,registers,activation kernelKernelInit(usrRoot,...) 初始化輸入輸出系統(tǒng)(I/O system)可選 romStart() 開始裝載和解壓image到RAM,.9 / 9