JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Device Driver Tutorial     Oracle Solaris 11 Express 11/10
search filter icon
search icon

Document Information

Preface

1.  Introduction to Device Drivers

Oracle Solaris Operating System Definition

Kernel Overview

Differences Between Kernel Modules and User Programs

Execution Differences Between Kernel Modules and User Programs

Structural Differences Between Kernel Modules and User Programs

Data Transfer Differences Between Kernel Modules and User Programs

User and Kernel Address Spaces on x86 and SPARC Machines

Device Drivers

Driver Directory Organization

Devices as Files

Devices Directories

Device Tree

Character and Block Devices

Device Names

Device Numbers

Development Environment and Tools

Writing a Driver

Writing a Driver Module

Writing a Configuration File

Building a Driver

Compiling with Oracle Solaris Studio

Compiling with the GNU C Compiler

Installing a Driver

Adding, Updating, and Removing a Driver

Loading and Unloading a Driver

Testing a Driver

2.  Template Driver Example

3.  Reading and Writing Data in Kernel Memory

4.  Tips for Developing Device Drivers

Index

Chapter 1

Introduction to Device Drivers

This chapter gives an overview of the Oracle Solaris Operating System and kernel. This chapter also gives an overview of the driver development environment and the development tools available to you.