摘要
目的为了设计和实现嵌入式实时操作系统COSIXV20/RT平台,对Mach30微内核的面向对象设备管理的源程序进行剖析.方法依据Mach的I/O管理机制分析源程序,以并行接口为端口编写通讯驱动程序,并验证其正确性.结果在分析的基础上,通过修改有关驱动程序的接口,实现了两台Mach机或Mach与基于DOS机之间的通信.结论Mach30采用端口和消息机制,I/O接口支持的设备驱动程序独立于设备和位置,而且是在用户级实现的.面向对象设计,使得代码的共享程度更高,减少了依靠机器的代码量,增加了可移植性.
Aim To design the embeded real time operating system COSIXV2 0/RT developing platform,some source programs are analyzed for Mach micro kernel′s object oriented device management Methods According to Mach′s I/O management mechanism,the sources are analyzed and the parallel interface is used as the port and the communication driver written to prove the correctness of the analysis Results Based on the analysis and modification of the interface in the device driver,communication between two Mach machines or between a Mach machine and a DOS machine is achieved Conclusion Mach 3 0 uses the port and message mechanism The device drivers that its I/O interfaces support are device independent and location independent,and are implemented at the user′s levels Its objectoriented design enables the codes to be highly shared This reduces the machine dependent codes,and increases the portability
出处
《北京理工大学学报》
EI
CAS
CSCD
1998年第6期727-731,共5页
Transactions of Beijing Institute of Technology
基金
"九五"国家重点科技攻关项目