摘要: __asm void xPortPendSVHandler( void ) { extern uxCriticalNesting; extern pxCurrentTCB; extern vTaskSwitchContext; PRESERVE8 //栈的8字节对齐 mrs r0, psp //读取当前psp进程指针,存入r0 isb /* 获取当前任务控制块 */ ldr r3, =pxCurr 阅读全文
posted @ 2019-10-30 12:23 sanshijvshi 阅读(1813) 评论(0) 推荐(1) 编辑