%0 Journal Article %T Linux设备驱动的内核服务需求特征<br>Requirement characteristics for kernel services of Linux device drivers %A 茅俊杰 %A 陈渝 %J 清华大学学报(自然科学版) %D 2015 %X 重用Linux的设备驱动可以极大拓展新兴操作系统的应用场景, 然而目前对Linux设备驱动对内核服务的需求的理解仍然不足, 重用驱动的工作仍然缺乏辅助工具。该文选取了6类共271个Linux设备驱动作为样本, 基于源代码和历史记录进行分析和统计, 表明Linux设备驱动对内核服务的需求具有通用接口倾向性, 同类设备驱动对内核服务的需求具有相似性, 而不同类驱动的需求特征则有明显不同。这些结论有助于指导Linux设备驱动的重用和相应辅助工具的设计与开发。<br>Abstract:Reuse of Linux device drivers allows new operating systems to be deployed over a wider range of hardware platforms. However, there are few tools to help developers reuse device drivers due to the lack of a thorough understanding of the requirement characteristics for kernel services by device drivers. The source codes of 271 device drivers in 6 categories were analyzed to identify their required kernel services. The results show that the drivers prefer generic interfaces over specialized ones. In addition, drivers in the same category have similar requirements while drivers in different categories do not. The conclusions will guide the reuse of Linux device drivers and the design of tools to help developers reuse drivers. %K 设备驱动 %K 需求特征 %K 代码分析 %K < %K br> %K device drivers %K requirement characteristics %K code analysis %U http://jst.tsinghuajournals.com/CN/Y2015/V55/I8/911#RelatedCitationTab