首页 | 本学科首页   官方微博 | 高级检索  
     

面向SPARC处理器架构的操作系统异常管理验证
引用本文:马智,乔磊,杨孟飞,李少峰.面向SPARC处理器架构的操作系统异常管理验证[J].软件学报,2021,32(6):1631-1646.
作者姓名:马智  乔磊  杨孟飞  李少峰
作者单位:北京控制工程研究所, 北京 100190;北京控制工程研究所, 北京 100190;计算机科学国家重点实验室(中国科学院 软件研究所), 北京 100190;中国空间技术研究院, 北京 100094;北京控制工程研究所, 北京 100190;西安电子科技大学 计算机科学与技术学院, 陕西 西安 710071
基金项目:国家自然科学基金(61632005,61802017,62032004);中国科学院软件研究所计算机科学国家重点实验室开放课题(SYSKF1804)
摘    要:航天器等安全关键系统是典型的嵌入式系统,具有多任务并发、中断频发等特点,操作系统是其最基础的软件,构建一个正确的操作系统是保障航天器系统高可信运行的关键.异常管理作为操作系统最底层的功能负责引导系统控制流的突变来响应处理器状态中的某些变化,异常管理的正确性是整个操作系统正确性的基础.本文提出了一种基于Hoare-logic的验证框架,用于证明面向SPARC处理器架构操作系统异常管理的正确性,特别针对多任务并发和中断频发实时操作系统异常嵌套与异常中发生任务切换的情况,将异常管理划分为五个阶段进行全面的形式化建模,并且在Coq证明定理辅助工具中实现了此框架.基于该框架验证了我国北斗三号在轨实际应用的航天器嵌入式实时操作系统SpaceOS异常管理功能的正确性.

关 键 词:操作系统  异常管理  异常嵌套  任务切换  形式化验证
收稿时间:2020/8/17 0:00:00
修稿时间:2020/10/26 0:00:00

Verification of Operating System Exception Management for SPARC Processor Architecture
MA Zhi,QIAO Lei,YANG Meng-Fei,LI Shao-Feng.Verification of Operating System Exception Management for SPARC Processor Architecture[J].Journal of Software,2021,32(6):1631-1646.
Authors:MA Zhi  QIAO Lei  YANG Meng-Fei  LI Shao-Feng
Affiliation:Beijing Institute of Control Engineering, Beijing 100190, China;Beijing Institute of Control Engineering, Beijing 100190, China;State Key Laboratory of Computer Science (Institute of Software, Chinese Academy of Sciences), Beijing 100190, China;China Academy of Space Technology, Beijing 100094, China; Beijing Institute of Control Engineering, Beijing 100190, China;School of Computer Science and Technology, Xidian University, Xi''an 710071, China
Abstract:Safety-critical systems such as spacecraft are typical embedded systems with the characteristics of multi-task concurrency and frequent interruptions. The operating system is the most fundamental software of computer, and building a correct operating system is crucial to ensure the reliability of the spacecraft system. Exception management, as the lowest level function of the operating system, is responsible for guiding sudden changes of control flow in response to certain changes in the processor state. Exception management is the basis for the correctness of the entire operating system correctness. This paper proposes a verification framework based on Hoare-logic to prove the correctness of exception management for SPARC processor architecture operating systems. Especially for multi-task concurrency and frequent interruption of real-time operating system exception nesting and task switching in exceptions. The exception management is divided into five stages for comprehensive formal modeling, and this framework is implemented in the Coq proving theorem assistant tool. Based on this framework, the correctness of the exception management function of the spacecraft embedded real-time operating system SpaceOS, which is actually used by our country''s Beidou-3, is verified.
Keywords:Operating system  exception management  exception nesting  task switching  formal verification
点击此处可从《软件学报》浏览原始摘要信息
点击此处可从《软件学报》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号