|
|||
1. Introduction to Device Drivers Overview of the Template Driver Example Writing the Device Configuration File Building and Installing the Template Driver Complete Template Driver Source 3. Reading and Writing Data in Kernel Memory |
Chapter 2
Template Driver ExampleThis chapter shows you how to develop a very simple, working driver. This chapter explains how to write the driver and configuration file, compile the driver, load the driver, and test the driver. The driver that is shown in this chapter is a pseudo device driver that merely writes a message to a system log every time an entry point is entered. This driver demonstrates the minimum functionality that any character driver must implement. You can use this driver as a template for building a complex driver. This chapter discusses the following driver development steps: |
||
|