【正文】
orks分為兩大類: 1) Uploaded images(通過網(wǎng)口、串口、硬盤、軟盤、DOC、ROM中加載到RAM中執(zhí)行的)vxWorks basic Tornado, shell 和 symbol table 在主機端 其中 /target/config/all/ image.usrRoot()bootCmdLoop(void)命令行選擇,或autobootingbootLoad(pLine, amp。 各個函數(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,...) Defines system memory partition. Unlocks inierrupts. 初始化內(nèi)存分區(qū)表(memory partition library) 初始化輸入輸出系統(tǒng)(I/O system)可選