类unix操作系统的设备驱动程序生成系统原型

T. Katayama, K. Saisho, A. Fukuda
{"title":"类unix操作系统的设备驱动程序生成系统原型","authors":"T. Katayama, K. Saisho, A. Fukuda","doi":"10.1109/ISPSE.2000.913251","DOIUrl":null,"url":null,"abstract":"Writing device drivers takes much time and requires effort because it needs knowledge of the target device and operating system (OS). In order to lighten the burden, the authors have proposed a model to generate device drivers and a device-driver generation system. The system generates the source code of a device driver from three inputs: the device driver specification, an OS-dependent specification and a device-dependent specification. The device drivers generated in the model are evolutionary because their features can be expanded easily. However, they are not always effective because the burden of describing the device-dependent specification, which is one of the inputs, is nearly as same as in the traditional method. In this paper, to aim at a greater reduction of the burden, device drivers are abstracted again, each input is defined afresh, and then a prototype of the system is implemented. As an example of the generation, we chose an interrupt handler of a network device, FreeBSD and Linux as the target OSs, and Etherlink XL as the target device. The OS-dependent specification and the device-dependent specification can be reused in each OS and each device, respectively. As a result, an identical device-dependent specification can be applied to both OSs. The burden in generating new device drivers or in porting device drivers to other OSs can thus be reduced.","PeriodicalId":170375,"journal":{"name":"Proceedings International Symposium on Principles of Software Evolution","volume":"67 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2000-11-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"23","resultStr":"{\"title\":\"Prototype of the device driver generation system for UNIX-like operating systems\",\"authors\":\"T. Katayama, K. Saisho, A. Fukuda\",\"doi\":\"10.1109/ISPSE.2000.913251\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Writing device drivers takes much time and requires effort because it needs knowledge of the target device and operating system (OS). In order to lighten the burden, the authors have proposed a model to generate device drivers and a device-driver generation system. The system generates the source code of a device driver from three inputs: the device driver specification, an OS-dependent specification and a device-dependent specification. The device drivers generated in the model are evolutionary because their features can be expanded easily. However, they are not always effective because the burden of describing the device-dependent specification, which is one of the inputs, is nearly as same as in the traditional method. In this paper, to aim at a greater reduction of the burden, device drivers are abstracted again, each input is defined afresh, and then a prototype of the system is implemented. As an example of the generation, we chose an interrupt handler of a network device, FreeBSD and Linux as the target OSs, and Etherlink XL as the target device. The OS-dependent specification and the device-dependent specification can be reused in each OS and each device, respectively. As a result, an identical device-dependent specification can be applied to both OSs. The burden in generating new device drivers or in porting device drivers to other OSs can thus be reduced.\",\"PeriodicalId\":170375,\"journal\":{\"name\":\"Proceedings International Symposium on Principles of Software Evolution\",\"volume\":\"67 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2000-11-01\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"23\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Proceedings International Symposium on Principles of Software Evolution\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/ISPSE.2000.913251\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings International Symposium on Principles of Software Evolution","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ISPSE.2000.913251","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 23

摘要

编写设备驱动程序需要花费大量时间和精力,因为它需要了解目标设备和操作系统(OS)。为了减轻这种负担,作者提出了一个设备驱动程序生成模型和一个设备驱动程序生成系统。系统从三个输入生成设备驱动程序的源代码:设备驱动程序规范、操作系统相关规范和设备相关规范。模型中生成的设备驱动程序是进化的,因为它们的特征可以很容易地扩展。然而,它们并不总是有效的,因为描述设备相关规范的负担(这是输入之一)与传统方法几乎相同。为了更大程度地减轻系统的负担,本文重新抽象了设备驱动程序,重新定义了每个输入,然后实现了系统的原型。作为生成示例,我们选择一个网络设备的中断处理程序,FreeBSD和Linux作为目标操作系统,Etherlink XL作为目标设备。与操作系统相关的规范和与设备相关的规范可以分别在每个操作系统和每个设备中重用。因此,相同的设备相关规范可以应用于两个操作系统。生成新设备驱动程序或将设备驱动程序移植到其他操作系统的负担因此可以减少。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
Prototype of the device driver generation system for UNIX-like operating systems
Writing device drivers takes much time and requires effort because it needs knowledge of the target device and operating system (OS). In order to lighten the burden, the authors have proposed a model to generate device drivers and a device-driver generation system. The system generates the source code of a device driver from three inputs: the device driver specification, an OS-dependent specification and a device-dependent specification. The device drivers generated in the model are evolutionary because their features can be expanded easily. However, they are not always effective because the burden of describing the device-dependent specification, which is one of the inputs, is nearly as same as in the traditional method. In this paper, to aim at a greater reduction of the burden, device drivers are abstracted again, each input is defined afresh, and then a prototype of the system is implemented. As an example of the generation, we chose an interrupt handler of a network device, FreeBSD and Linux as the target OSs, and Etherlink XL as the target device. The OS-dependent specification and the device-dependent specification can be reused in each OS and each device, respectively. As a result, an identical device-dependent specification can be applied to both OSs. The burden in generating new device drivers or in porting device drivers to other OSs can thus be reduced.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
Dynamic compilation of a reflective language using run-time specialization An approach for constructing component-based software systems with dynamic adaptability using LEAD++ Operating systems support for the evolution of software: an evaluation using WWW server software Managing software evolution with the service concept Towards a theory of software evolution - and its practical impact
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1