当前位置:Linux教程 - Linux文化 - OSKit包装系统驱动程序 - 摘要

OSKit包装系统驱动程序 - 摘要


我们对OSKit的分析方法是将其功能划分成一些相对独立的模块,由我们课题组内的几名同学分头分析。我负责分析OSKit包装其它系统的驱动程序的方法。在开发一个操作系统的过程中,为各种设备开发驱动程将是一种非常费时费力的工作。把一些开放源码的操作系统的驱动程序,在不修改原驱动程序代码的前提下,仅仅通过包装使这其可以在新系统中使用,这是OSKit的一大特色。这为开发新的操作系统的开发人员提供了一种有效的方法,节省了开发新系统的时间。

本文首先讲解了OSKit内核为驱动程序提供的接口以及驱动程序应当为操作系统提供的使用接口。后面以OSKit包装Linux驱动程序的实例,具体的讨论了包装的思路及方法。希望我们的工作,能够对将来使用OSKit这一工具的开发人员有所帮助,对其它操作系统的研究人员有所启发。


ABSTRACT

This paper introduced a operating system development toolkit OSKit. It focusd on the method that OSKit used to wrap the device driver in someother operating system, and also describes how to write device drivers under OSKit.

The OSKit is a framework and a set of more than thirty componnet libaraies oriented to operating systems. The OSKit’s goal is to lower the barrier to entry to OS research and develeopment and to lower its costs. Porting device driver from some other open source operating system such as Linux and FreeBSD is the most noticeable characteristic of OSKit. With the idea and method of OSKit use, OS developers can easily include existing device drivers.

This thesis discussed the method that OSKit used to wrap device drivers from other operating systems by example. I hope that it is a good reference for OS developers.