摘要
为使EPON交换芯片驱动程序能够在众多嵌入式操作系统间容易移植并保持其向上接口的稳定性以方便其程序的设计 ,提出了一种把驱动程序划分为三层的易移植设计方案 .底层SAL屏蔽了操作系统的差异 ,API层使接口变得稳定并更方便使用 ,中间层DRV则是驱动的主体 .
In order to make the IC driver of EPON switch easily ported among various embedded operating systems and keep the interfaces between it and other programs stable to make the design of other programs be convenient, the paper put forward a portable design scheme to divide switch IC driver into three layers. The lowest layer SAL shielded the differences among operating systems, the API layer made the interfaces stable and easily used, and the middle layer DRV was the main part of the driver. How to design and implement the driver as a kernel module in the embedded Linux operating system was described.
出处
《华中科技大学学报(自然科学版)》
EI
CAS
CSCD
北大核心
2004年第3期95-97,共3页
Journal of Huazhong University of Science and Technology(Natural Science Edition)
基金
国家"十五"高技术研究发展计划资助项目 (2 0 0 1AA12 2 0 2 3)