Book

Linux Kernel Programming Part 2 - Char Device Drivers and Kernel Synchronization

This book follows on from Linux Kernel Programming, helping you explore the Linux character device driver framework and enables you to write 'misc' class drivers. You'll learn how to efficiently interface with user apps, perform I/O on hardware memory, handle hardware interrupts, and leverage kernel delays, timers, kthreads, and workqueues.

Offered byPackt Logo

Difficulty Level

Intermediate

Completion Time

15h4m

Language

English

About Book

Who Is This Book For?

An understanding of the topics covered in the Linux Kernel Programming book is highly recommended to make the most of this book. This book is for Linux programmers beginning to find their way with device driver development. Linux device driver developers looking to overcome frequent and common kernel/driver development issues, as well as perform common driver tasks such as user-kernel interfaces, performing peripheral I/O, handling hardware interrupts, and dealing with concurrency will benefit from this book. A basic understanding of Linux kernel internals (and common APIs), kernel module development, and C programming is required.

Book content

chapters 15h4m total length

Writing a simple Misc Character Device Driver

User-Kernel Communication Pathways

Working with hardware IO Memory

Handling Hardware Interrupts

Timers, Kernel Threads and More

Kernel Synchronization, Part 1

Kernel Synchronization, Part 2

Related Resources

Access Ready-to-Use Books for Free!

Get instant access to a library of pre-built books—free trial, no credit card required. Start training your team in minutes!

No credit card required