计算机工程 ›› 2009, Vol. 35 ›› Issue (14): 20-21.doi: 10.3969/j.issn.1000-3428.2009.14.007

• 博士论文 • 上一篇    下一篇

嵌入式内核的任务上下文保护机制

段星辉,代作晓   

  1. (中国科学院上海技术物理研究所,上海 200083)
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2009-07-20 发布日期:2009-07-20

Protection Mechanism for Task Context of Embedded Kernel

DUAN Xing-hui, DAI Zuo-xiao   

  1. (Shanghai Institute of Technical Physics, Chinese Academy of Sciences, Shanghai 200083)
  • Received:1900-01-01 Revised:1900-01-01 Online:2009-07-20 Published:2009-07-20

摘要: 单粒子翻转可能发生在内核堆栈时,破坏任务的上下文环境,从而导致星载软件运行结果出错、跑飞甚至崩溃。针对该情况,对嵌入式µC/OS-II内核进行改进,实现任务上下文保护机制。经实验验证,改进的内核能有效地克服单粒子翻转对内核堆栈造成的影响。

关键词: µ, C/OS-II内核, 任务上下文, 单粒子翻转

Abstract: A single event upset may happen in the task stack and spoile the task context, so the on-board software may be affected in the way of getting wrong results, running to undefined point or becoming collapsed. Aiming at this problem, this paper improves the embedded kernel µC/OS-II and implements protection mechanism for task context. A test is given, which proves the protection mechanism for task context can effectively get rid of the effect on task stack caused by a single event.

Key words: µ, C/OS-II kernel, task context, single event upset

中图分类号: