uC/OSII移植步驟 作者: 時(shí)間:2016-10-08 來(lái)源:網(wǎng)絡(luò) 加入技術(shù)交流群 掃碼加入和技術(shù)大咖面對(duì)面交流海量資料庫(kù)查詢 收藏 ; Pop new task's CPSRMSRSPSR_cxsf, R4LDMFDSP!, {R0-R12,LR,PC}^; Pop new task's contextRSEG CODE:CODE:NOROOT(2)CODE32OS_CPU_FIQ_ISRSTMFDSP!, {R1-R3}; PUSH WORKING REGISTERS ONTO FIQ STACKMOVR1, SP; SaveFIQ stack pointerADDSP, SP,#12; Adjust FIQ stack pointerSUBR2, LR,#4; Adjust PC for return address to taskMRSR3, SPSR; Copy SPSR (i.e. interrupted task's CPSR) to R3MSRCPSR_c, #(NO_INT | SVC32_MODE) ; Change to SVC mode 上一頁(yè) 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 下一頁(yè)
評(píng)論