郑州轻工业学院学报(自然科学版)
鄭州輕工業學院學報(自然科學版)
정주경공업학원학보(자연과학판)
JOURNAL OF ZHENGZHOU INSTITUTE OF LIGHT INDUSTRY(NATURAL SCIENCE)
2014年
5期
56-59,67
,共5页
黄道颖%连建永%张安琴%陈慧%张安琳
黃道穎%連建永%張安琴%陳慧%張安琳
황도영%련건영%장안금%진혜%장안림
GRUB 2%模块化设计%可执行连接格式(ELF)文件
GRUB 2%模塊化設計%可執行連接格式(ELF)文件
GRUB 2%모괴화설계%가집행련접격식(ELF)문건
grand unified boot-loader 2(GRUB 2)%modular design%executable and linkable format (ELF) file
通过对一个 GRUB 2模块源代码的编写、编译,到模块的加载、运行和卸载,分析 GRUB 2的模块结构及开发过程,阐明了 GRUB 2将功能分布在众多小模块中且在运行时能够动态加载和卸载的模块化设计机制。结果表明,该机制便于随时扩展功能,进行用户二次开发。
通過對一箇 GRUB 2模塊源代碼的編寫、編譯,到模塊的加載、運行和卸載,分析 GRUB 2的模塊結構及開髮過程,闡明瞭 GRUB 2將功能分佈在衆多小模塊中且在運行時能夠動態加載和卸載的模塊化設計機製。結果錶明,該機製便于隨時擴展功能,進行用戶二次開髮。
통과대일개 GRUB 2모괴원대마적편사、편역,도모괴적가재、운행화사재,분석 GRUB 2적모괴결구급개발과정,천명료 GRUB 2장공능분포재음다소모괴중차재운행시능구동태가재화사재적모괴화설계궤제。결과표명,해궤제편우수시확전공능,진행용호이차개발。
By analyzing the process of writing and compiling a simple GRUB 2 module source code,and loading,running,unloading a module,the article described the structure and the process of developing of GRUB 2 module,and clarified the modular design of GRUB 2:it put functions into many small modules, and those modules could be dynamically loaded and unloaded.The analysis showed that GRUB 2 could be redeveloped to consummate its functions and extend its application occasions.