Next | Prev | Top | Contents | Index
Chapter 12: Driver Example
This chapter displays the code of a complete device driver. The driver implements a "RAM drive," a block of memory that simulates a disk drive. Since it has no hardware dependencies, this example driver can be used for experimentation in any IRIX system.
Note: It is not sensible to use a RAM drive in a system like IRIX, where there is an effective implementation of virtual memory. The RAM drive only occupies memory that is better used as buffers for the paging system. This driver is useful only as a test-bed for experiments with the driver-kernel interface and with symmon and other debugging tools. Do not use this driver in a production system.
- Installing the Example Driver
-
- Example Driver Source Files
-
Next | Prev | Top | Contents | Index