starto.S这段代码放在地址0xbfc00000,即rom的起始地址,这段代码最长可达0x00400000start在此处首先定义了一个stack变量,用于说明pmon将来要用的栈的栈底,这个栈的位置在start程序段的起点下方0x4000处.即stack=start-0x4000.1.初始化CPU内的寄存器,清TLB.接下来执行一系列指令,先把cp0的状态寄存器清0,然后再把SR_BOOT_EXC_VEC载入cp0状态寄存器,即令BEV为1,进入bootstrap模式;然后在状态寄存器中开中断4,5,使系统可以响应中断...
/*$Id:start.S,v1.1.1.12006/09/1401:59:08rootExp$*//**Copyright(c)2001OpsyconAB(www.opsycon.se)**Redistributionanduseinsourceandbinaryforms,withorwithout*modification,arepermittedprovidedthatthefollowingconditions*aremet:*1.Redistributionsofsourcecodemustretaintheabovecopyright*notice,thislistofconditionsandthefollowingdisclaimer.*2.Redistributionsinbinaryformmustreproducetheabovecopyright*notic...
pmonTableofContents1.pmon简介.................................................................22.pmon命令.................................................................43.pmon目录结构.............................................................94.pmon的编译..............................................................114.1pmon的配置..........................................................114...