This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

SYS/BIOS中task堆栈大小的问题?



在“SPRUEX3K:TI SYS BIOS Real-time Operating System V6.33 User's Guider.pdf”文献的85页有这样的描述:

Each task stack must be large enough to handle both its normal function calls and two full interrupting Hwi contexts. 

并且下面还有一个最坏情况下的堆栈消耗表,有下面几方面的疑问:

(1)   任务堆栈怎么会保存hwi的上下文呢?(因为hwi有自己的堆栈)

(2)   为什么是考虑两个hwi的上下文?(更不理解)

(3)   最坏情况下的任务堆栈的消耗在C674下怎么会有676个字节呢?如果是这样,不仅堆栈消耗大,时间开消也很大?

对于上面的问题如果理解?谢谢