O'Reilly logo

Linux® Kernel Primer, The: A Top-Down Approach for x86 and PowerPC Architectures by Steven Smolski, Gordon Fischer, Claudia Salzberg Rodriguez

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 10. Adding Your Code to the Kernel

In this chapter

This section is divided into two major parts: “Traversing the Source” and “Writing the Code.”

Traversing the Source” walks through a device driver common to nearly all Linux systems, /dev/random, and shows how the kernel connects with it. During this overview we recap some of the inner workings of the kernel we previously described and show them in a more practical light.

Writing the Code” walks through building a device driver and delves into common situations that a developer will encounter when writing device drivers.

After those sections, we proceed to describe how you can debug ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required