作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2007, Vol. 33 ›› Issue (09): 69-71.

• 软件技术与数据库 • 上一篇    下一篇

通信领域中嵌入式软件异常处理模块分析与实现

何先波1,2,李志蜀2,唐宁九2,王朝斌1,刘家彬3   

  1. (1. 西华师范大学计算机学院,南充 637002;2. 四川大学计算机学院,成都 610064;3. 康定民族师范高等专科学校计算机科学系,康定 626001)
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2007-05-05 发布日期:2007-05-05

Analysis and Implementation of Exception Processing Module of Embedded Software in Communication Field

HE Xianbo1,2, LI Zhishu2, TANG Ningjiu2, WANG Chaobin1, LIU Jiabin3   

  1. (1. Computer College, China West Normal University, Nanchong 637002; 2. Computer College, Sichuan University, Chengdu 610064; 3. Computer Science Department, Kangding Nationality Teachers College, Kangding 626001)
  • Received:1900-01-01 Revised:1900-01-01 Online:2007-05-05 Published:2007-05-05

摘要: 异常处理是实现嵌入式应用软件系统可靠性和容错性的重要手段。该文探讨了通信领域内嵌入式软件设计中异常处理的相关技术,分别以X86和PowePC硬件平台为例对异常发生时的运行栈进行了深入的分析,给出了一种通信领域内较通用的异常处理模型,并基于商用嵌入式操作系统VxWorks讨论了该模型的实现。

关键词: 嵌入式系统, 异常, 恢复策略, 栈帧

Abstract: Proper exception handling mechanism is an important means to guarantee the reliability and error-tolerance of embedded application system. In this paper, the relevant technologies of exceptions processing in embedded software design orienting communication applications are studied. Based on X86 and PowerPC hardware platforms, the running stack information is analyzed. An exception handling schema which is in common use in the communication application field is represented. And the schema’s implementation is discussed based on the commercial operating system VxWorks.

Key words: Embedded system, Exception, Restore strategy, Stack frame

中图分类号: