By Цилюрик Олег Иванович
Олег Иванович Цилюрик, 2023
Эта книга предлагает глубокое погружение в программирование драйверов для ядра Linux, исследуя возможности расширения его функциональности с помощью модулей. Основное внимание уделяется версии ядра 5.15. Приведенные примеры кода были тщательно протестированы на множестве установок Linux, охватывающих различные дистрибутивы и семейства, включая Fedora, CentOS, Debian, Ubuntu и Mint. Рассмотрены архитектуры x86_64, x86 и ARM, а также особенности работы с одноплатным компьютером Raspberry Pi и устройствами, подключаемыми через USB. Затронуты темы стандарта POSIX, API ядра, системных вызовов и подключения периферийных устройств.
Oleg Ivanovich Tsilyurik, 2023
This book provides an in-depth exploration of driver programming for the Linux kernel, examining its extensibility through modules. The primary focus is on kernel version 5.15. Code examples have been thoroughly tested across numerous Linux installations, encompassing diverse distributions and families such as Fedora, CentOS, Debian, Ubuntu, and Mint. The text covers x86_64, x86, and ARM architectures, along with specific considerations for the Raspberry Pi single-board computer and USB-connected devices. Topics addressed include the POSIX standard, kernel APIs, system calls, and the integration of various peripheral devices.