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

2.  Template Driver Example

3.  Reading and Writing Data in Kernel Memory

4.  Tips for Developing Device Drivers

Index

A

B

C

D

E

F

G

H

I

K

L

M

N

O

P

Q

R

S

T

U

V

W

X

C

cat command, Reading and Writing the Device
cb_ops driver structure
Device Drivers
Writing the Driver Data Structures
Defining the Character and Block Operations Structure
Writing New Data
cc command, Compiling with Oracle Solaris Studio
character device, Character and Block Devices
close() entry point
Writing the User Context Entry Points
Defining the Close Device Entry Point
Opening the Device, Closing the Device, and Getting Module Information
cmn_err() kernel function
Defining the Module Initialization Entry Point
Testing the Template Driver
Displaying Data Stored in Kernel Memory
Device Driver Coding Tips
commands
add_drv
Adding, Updating, and Removing a Driver
Adding the Template Driver
Device Driver Coding Tips
boot, Driver Directory Organization
cat, Reading and Writing the Device
cc, Compiling with Oracle Solaris Studio
dmesg, Attaching and Detaching
echo, Reading and Writing the Device
fsck, Device Driver Testing Tips
gcc, Compiling with the GNU C Compiler
kernel, Driver Directory Organization
ld
Structural Differences Between Kernel Modules and User Programs
Compiling with Oracle Solaris Studio
Defining the Module Unload Entry Point
mknod, Devices Directories
modinfo
Adding, Updating, and Removing a Driver
Adding the Template Driver
Building, Installing, and Using Quote Of The Day Version 2
modload, Adding the Template Driver
modunload, Removing the Template Driver
more, Building, Installing, and Using Quote Of The Day Version 2
prtconf
Devices Directories
Device Tree
Building a Driver
Adding, Updating, and Removing a Driver
Adding the Template Driver
Building, Installing, and Using Quote Of The Day Version 2
prtpicl, Device Tree
rem_drv
Adding, Updating, and Removing a Driver
Loading and Unloading a Driver
Removing the Template Driver
syslogd
Testing the Template Driver
Building, Installing, and Using Quote Of The Day Version 1
update_drv, Adding, Updating, and Removing a Driver
compiling, Building a Driver
condition variables, Managing Thread Synchronization
conditional compilation, Device Driver Coding Tips
condvar() kernel functions, Managing Thread Synchronization
configuration files
Writing a Configuration File
Writing the Device Configuration File
crash dumps, use in testing, Device Driver Testing Tips
cv_broadcast() kernel function
Managing Thread Synchronization
Writing New Data
cv_destroy() kernel function
Checking for Changes, Cleaning Up, and Detaching
Managing Thread Synchronization
cv_init() kernel function
Attaching, Allocating Memory, and Initializing a Mutex and a Condition Variable
Managing Thread Synchronization
cv_signal() kernel function, Managing Thread Synchronization
cv_wait() kernel function, Managing Thread Synchronization
cv_wait_sig() kernel function
Managing Thread Synchronization
Managing Thread Synchronization