JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Device Driver Tutorial     Oracle Solaris 11.1 Information Library
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

D

data loss, avoiding while testing, index iconDevice Driver Testing Tips
data model
converting
index iconWriting a Driver Module
index iconWriting Quote Of The Day Version 3
ddi_copyin() kernel function
index iconUser and Kernel Address Spaces on x86 and SPARC Machines
index iconWriting Quote Of The Day Version 3
index iconManaging Thread Synchronization
index iconReporting and Setting Device Size and Re-initializing the Device
ddi_copyout() kernel function
index iconUser and Kernel Address Spaces on x86 and SPARC Machines
index iconWriting Quote Of The Day Version 3
index iconReporting and Setting Device Size and Re-initializing the Device
ddi_create_minor_node() kernel function
index iconWriting the Autoconfiguration Entry Points
index iconDefining the Device Attach Entry Point
index iconAttaching and Detaching
index iconAttaching, Allocating Memory, and Initializing a Mutex and a Condition Variable
ddi_get_instance() kernel function
index iconDevice Numbers
index iconDefining the Device Attach Entry Point
index iconAttaching and Detaching
ddi_get_soft_state() kernel function
index iconManaging Device State
index iconAttaching and Detaching
index iconOpening the Device, Closing the Device, and Getting Module Information
index iconReading the Data
ddi_model_convert_from() kernel function
index iconWriting a Driver Module
index iconWriting Quote Of The Day Version 3
index iconReporting and Setting Device Size and Re-initializing the Device
ddi_prop_get_int() kernel function, index iconWriting a Configuration File
ddi_prop_lookup() kernel function, index iconWriting a Configuration File
ddi_prop_op() kernel function
index iconWriting the Autoconfiguration Entry Points
index iconDefining the Report Driver Property Information Entry Point
ddi_remove_minor_node() kernel function
index iconWriting the Autoconfiguration Entry Points
index iconDefining the Device Detach Entry Point
index iconAttaching and Detaching
index iconChecking for Changes, Cleaning Up, and Detaching
ddi_report_dev() kernel function, index iconAttaching and Detaching
ddi_soft_state_fini() kernel function
index iconManaging Device State
index iconInitializing and Unloading
ddi_soft_state_free() kernel function
index iconManaging Device State
index iconAttaching and Detaching
ddi_soft_state_init() kernel function
index iconManaging Device State
index iconInitializing and Unloading
ddi_soft_state() kernel function, index iconDefining the Device Attach Entry Point
ddi_soft_state_zalloc() kernel function
index iconManaging Device State
index iconAttaching and Detaching
ddi_umem_alloc() kernel function, index iconAllocating and Freeing Kernel Memory
ddi_umem_free() kernel function
index iconChecking for Changes, Cleaning Up, and Detaching
index iconAllocating and Freeing Kernel Memory
deadman kernel feature, index iconDevice Driver Testing Tips
debugging device drivers, tips, index iconDevice Driver Debugging and Tuning Tips
detach() entry point
index iconDefining the Module Unload Entry Point
index iconWriting the Autoconfiguration Entry Points
index iconDefining the Device Detach Entry Point
index iconAttaching and Detaching
/dev directory
index iconDevices Directories
index iconDevice Names
dev_info device structure
index iconDefining the Device Attach Entry Point
index iconDefining the Device Detach Entry Point
index iconDefining the Get Driver Information Entry Point
dev_ops driver structure
index iconDevice Drivers
index iconWriting the Driver Data Structures
index iconDefining the Device Operations Structure
devfs devices file system, index iconDevices Directories
devfsadmd devices file system administration command, index iconDevice Names
device drivers, index iconDevice Drivers
adding, index iconAdding, Updating, and Removing a Driver
coding tips, index iconDevice Driver Coding Tips
compiling, index iconBuilding a Driver
condition variables, index iconManaging Thread Synchronization
conditional compilation, index iconDevice Driver Coding Tips
debugging tips, index iconDevice Driver Debugging and Tuning Tips
development guidelines, index iconTips for Developing Device Drivers
directories, index iconDriver Directory Organization
adding, index iconDriver Directory Organization
entry points
index iconDevice Drivers
index iconOverview of the Template Driver Example
See also entry points
how used, index iconDevice Drivers
I/O controls
index iconReporting and Setting Device Size and Re-initializing the Device
index iconExercising the Driver's I/O Controls
installing
index iconInstalling a Driver
index iconDevice Driver Testing Tips
linking, index iconBuilding a Driver
loading
index iconDriver Directory Organization
index iconLoading and Unloading a Driver
index iconAdding the Template Driver
mutexes, index iconManaging Thread Synchronization
naming conventions, index iconDevice Driver Coding Tips
recommended housekeeping, index iconDevice Driver Coding Tips
removing
index iconAdding, Updating, and Removing a Driver
index iconRemoving the Template Driver
structures
See driver structures
test areas, index iconTesting a Driver
testing, index iconDevice Driver Testing Tips
thread synchronization, index iconManaging Thread Synchronization
tuning, index iconDevice Driver Debugging and Tuning Tips
unloading
index iconLoading and Unloading a Driver
index iconRemoving the Template Driver
updating, index iconAdding, Updating, and Removing a Driver
device instance pointer (dip)
index iconDefining the Device Attach Entry Point
index iconDefining the Device Detach Entry Point
index iconDefining the Get Driver Information Entry Point
device number, index iconDevice Numbers
device structures
dev_info
index iconDefining the Device Attach Entry Point
index iconDefining the Device Detach Entry Point
index iconDefining the Get Driver Information Entry Point
device tree, index iconDevice Tree
devices
blk, index iconCharacter and Block Devices
block
index iconDevices as Files
index iconCharacter and Block Devices
character
index iconDevices as Files
index iconCharacter and Block Devices
index iconWriting the Template Driver
configuration files
index iconWriting a Configuration File
index iconWriting the Device Configuration File
device tree, index iconDevice Tree
directories
index iconDevices Directories
index iconDevice Names
exclusive access, index iconManaging Thread Synchronization
file system
devfs, index iconDevices Directories
devfsadmd, index iconDevice Names
instances
index iconDevice Numbers
index iconDefining the Device Attach Entry Point
index iconDefining the Device Detach Entry Point
index iconDefining the Get Driver Information Entry Point
md metadevice, index iconCharacter and Block Devices
names, index iconDevice Names
nexus
index iconDevice Drivers
index iconDevice Tree
numbers
index iconDevices Directories
index iconDevice Numbers
index iconDefining the Device Attach Entry Point
prefixes
index iconWriting a Driver Module
index iconDeclaring the Autoconfiguration Entry Points
properties
index iconWriting a Configuration File
index iconDefining the Report Driver Property Information Entry Point
pseudo
index iconDevice Drivers
index iconTemplate Driver Example
ramdisk
index iconDevice Drivers
index iconModifying Data Stored in Kernel Memory
raw, index iconCharacter and Block Devices
reading
index iconReading and Writing the Device
index iconBuilding, Installing, and Using Quote Of The Day Version 2
index iconReading the Device
special files, index iconDevices as Files
state, index iconManaging Device State
writing
index iconReading and Writing the Device
index iconModifying Data Stored in Kernel Memory
index iconWriting New Data
index iconWriting the Device
/devices directory
index iconDevices Directories
index iconDevices Directories
index iconDevice Names
index iconAdding, Updating, and Removing a Driver
/devices/pseudo directory
index iconCharacter and Block Devices
index iconAdding the Template Driver
index iconBuilding, Installing, and Using Quote Of The Day Version 2
devmap() entry point, index iconUser and Kernel Address Spaces on x86 and SPARC Machines
dmesg command, index iconAttaching and Detaching
driver.conf file, index iconWriting a Configuration File
driver structures
cb_ops
index iconDevice Drivers
index iconWriting the Driver Data Structures
index iconDefining the Character and Block Operations Structure
index iconWriting New Data
character and block operations structure, index iconDefining the Character and Block Operations Structure
dev_ops
index iconDevice Drivers
index iconWriting the Driver Data Structures
index iconDefining the Device Operations Structure
device operations structure, index iconDefining the Device Operations Structure
modinfo, index iconDefining the Module Information Entry Point
modldrv
index iconWriting the Driver Data Structures
index iconDefining the Module Linkage Structures
modlinkage
index iconDefining the Module Initialization Entry Point
index iconWriting the Driver Data Structures
index iconDefining the Module Linkage Structures
module linkage structures, index iconDefining the Module Linkage Structures
drivers, See device drivers
DTrace analyzer, index iconDevice Driver Debugging and Tuning Tips