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

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.

主站蜘蛛池模板: 浮山县| 会泽县| 大连市| 获嘉县| 科技| 库尔勒市| 普格县| 牙克石市| 奉节县| 元朗区| 黎平县| 定边县| 甘孜县| 大关县| 涞水县| 富民县| 焉耆| 桐梓县| 怀安县| 无为县| 清水河县| 汤阴县| 新疆| 小金县| 易门县| 莲花县| 什邡市| 龙陵县| 平昌县| 石嘴山市| 临泽县| 新闻| 浠水县| 简阳市| 富锦市| 六安市| 黄陵县| 延边| 南华县| 连城县| 康平县|