期刊文献+

嵌入式操作系统中断现场保护的优化策略 被引量:3

An Optimizing Strategy of Interrupt Context Saving in Embedded Operating System
在线阅读 下载PDF
导出
摘要 大多数嵌入式操作系统在进入中断后进行中断现场保护时选择保护所有通用寄存器,这种普遍的做法延长了微处理器的访存时间,并且增加了产生存储器分体冲突的可能性。本文提出根据中断服务子程序对通用寄存器的需求而进行中断现场保护的策略,有效减少了中断现场保护时所需保护的通用寄存器数量,缩短了中断响应时间,提高了系统的中断实时性。最后,对这种优化策略进行了总结。 Most embedded operating systems tend to save all the processor general-purpose registers when interrupt arrives to prevent the context destroyed by interrupt service routine. As a matter of fact, in such way it delays the memory access time and rises the possibility of collision in memory banks. Thereby, an optimizing strategy is proposed in this paper that not all the general-purpose registers should be saved but only the very part that are used in the interrupt service routine. In this way, the amount of registers to be saved is decreased so that the interrupt response time is shortened and the interrupt real-time is promoted.
出处 《微计算机信息》 2004年第11期83-84,共2页 Control & Automation
关键词 嵌入式系统 实时性 中断响应 中断延迟 现场保护 embedded system real-time interrupt response interrupt latency context saving
  • 相关文献

参考文献1

  • 1[1]Jean J.L,μC/OS-Ⅱ,The Real-Time Kernel,R&D Technical Books,1998

同被引文献12

引证文献3

二级引证文献19

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部