摘要
本文通过对VxWorks操作系统软件结构的分析,总结出Vxworks在可剪裁性方面所进行的设计和优化。在此基础上,提出VxWorks的的剪裁方法和步骤。剪裁方法是目标程序分析法结合预编译宏的方式,对VxWorks源码的剪裁分为4个步骤,包括组件级剪裁、文件级剪裁、函数级剪裁和语句级剪裁。最后,本文提供了一个微小内核实时系统的剪裁实例说明。
This paper analyzes structure of real time embedded operating system -- VxWorks, summarizes design and optimization experience of its tailoring, and then proposes VxWorks tailoring method and steps. The VxWorks tailoring method combines object program analysis with precompiled macro. There are 4 steps of VxWorks tailoring, such as component level tailoring, file level tailoring, function level tailor and code level tailoring. In the end, the paper also gives an implementation example about VxWorks tailorinq of Micro kernel real time svstem.