1)单步调试进入OS_CORE.C中的指令ptcb = OSTCBFreeList; /* Get a free TCB from the free TCB list */出现Warning: Undefined instruction at: addr: 0x00000038 instr: UNDEFINED INSTRUCTION opcode: 0x0000FFE0
3)OSTCBPrioTbl[prio] = (OS_TCB *)0;/* Make this priority available to others */继续出现那条警告信息~~
4)我没理会这3个警告信息,继续往下单步执行,但当运行到OSStartHighRdy这个函数的最后,即从新任务堆栈中恢复处理器的所有寄存器这条指令后,出现新的警告信息,好似是堆栈溢出了。Sun Jun 07 01:12:58 2009: Warning: UNPREDICTABLE behaviour: Addr: 0x00008776 instr: LDR opcode: 0xD000F8D4
Sun Jun 07 01:12:58 2009: The stack pointer for stack 'CSTACK' (currently 0x01000000) is outside the stack range (0x001014B4 to 0x0010A4B4)