官术网_书友最值得收藏!

Working with kernel modules

Knowing how to add custom code to the kernel is useful but, when we have to write a new driver, it can be more useful writing our code as a kernel module. In fact, by using a module, we can easily modify kernel code and then test it without rebooting the system every time! We simply have to remove and then reinsert the module (after the necessary modifications) in order to test the new version of our code.

In this recipe, we'll take a look at how kernel modules can get compiled even on a directory outside the kernel tree.

主站蜘蛛池模板: 皮山县| 中方县| 万全县| 师宗县| 永清县| 阳原县| 扬中市| 闸北区| 富阳市| 阿合奇县| 梧州市| 开远市| 黄陵县| 犍为县| 上虞市| 闻喜县| 名山县| 马关县| 河北区| 新安县| 阿城市| 滕州市| 永安市| 图木舒克市| 盘山县| 上蔡县| 武城县| 原阳县| 精河县| 老河口市| 花莲市| 封开县| 独山县| 周口市| 安庆市| 神木县| 广汉市| 宜昌市| 庄浪县| 开化县| 衡山县|