检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
出 处:《计算机科学》2017年第11期64-68,79,共6页Computer Science
基 金:国家自然科学基金(91318301);国家重点基础研究发展计划(973计划)(2014CB340703)资助
摘 要:使用语义补丁技术对Linux的网卡驱动程序的后向移植方法进行研究。通过分析多个不同内核版本的驱动程序代码,在兼容库代码的支持下,提出了一种使用语义补丁进行驱动程序后向移植的方法。针对符号和函数分别开发了语义补丁,解决了后向移植过程中代码冗余以及补丁文件过多的问题,提高了后向移植的效率。实验分析表明,所使用的语义补丁的代码行数比普通补丁减少了很多,使得移植过程更加高效。在后向移植的过程中,对兼容库的构造方法进行了总结,使得移植后的代码可读性更强。所提方法对实现其他驱动程序的后向移植提供了借鉴意义。The paper studied the backporting of network device drivers in Linux kernels using semantic patch technology.After analyzing the code of device drivers in many different kernel versions,this paper proposed an approach to backport device drivers using semantic patch technology with compatibility library.Semantic patches are developed separately according to symbols and functions,which reduces the redundancy of code and improves the efficiency of backporting.The experiment shows that the lines of code of semantic patches are much less than normal patches.Some experiences about building compatibility library were also proposed in the paper.The results show that this approach is also valuable for backporting other device drivers.
分 类 号:TP311[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:18.224.202.121