|
计算机应用研究 2012
Mechanism of fast context switching based on DSP
|
Abstract:
This paper presented a novel mechanism of fast context switching based on DSP is presented according to the requirements of the real time controlling and signal processing in embedded systems,which provides a strong support for real-time processing.First,the mechanism involved two independent bus,dedicated for address and data information separately,that is to say,data and address information could be transmitted in parallel,which could expand the bandwidth for context saving and restoring;Furthermore,switching between shadow registers and general registers was adopted in order to reduce the amount of memory accessing;What’s more,the method of post-saving and pre-restoring the context was used,with which the efficiency of the task or interrupt nesting was enhanced and the speed of context switching was confirmed to be improved significantly.