Device Driver Tutorial

Exit Print View

Updated: July 2014
 
 

D

data loss
avoiding while testingindex iconDevice Driver Testing Tips
data model
converting
index iconWriting Quote Of The Day Version 3
index iconWriting a Driver Module
ddi_copyin() kernel function
index iconReporting and Setting Device Size and Re-initializing the Device
index iconManaging Thread Synchronization
index iconWriting Quote Of The Day Version 3
index iconUser and Kernel Address Spaces on x86 and SPARC Machines
ddi_copyout() kernel function
index iconReporting and Setting Device Size and Re-initializing the Device
index iconWriting Quote Of The Day Version 3
index iconUser and Kernel Address Spaces on x86 and SPARC Machines
ddi_create_minor_node() kernel function
index iconAttaching, Allocating Memory, and Initializing a Mutex and a Condition Variable
index iconAttaching and Detaching
index iconDefining the Device Attach Entry Point
index iconWriting the Autoconfiguration Entry Points
ddi_get_instance() kernel function
index iconAttaching and Detaching
index iconDefining the Device Attach Entry Point
index iconDevice Numbers
ddi_get_soft_state() kernel function
index iconReading the Data
index iconOpening the Device, Closing the Device, and Getting Module Information
index iconAttaching and Detaching
index iconManaging Device State
ddi_model_convert_from() kernel function
index iconReporting and Setting Device Size and Re-initializing the Device
index iconWriting Quote Of The Day Version 3
index iconWriting a Driver Module
ddi_prop_get_int() kernel functionindex iconWriting a Configuration File
ddi_prop_lookup() kernel functionindex iconWriting a Configuration File
ddi_prop_op() kernel function
index iconDefining the Report Driver Property Information Entry Point
index iconWriting the Autoconfiguration Entry Points
ddi_remove_minor_node() kernel function
index iconChecking for Changes, Cleaning Up, and Detaching
index iconAttaching and Detaching
index iconDefining the Device Detach Entry Point
index iconWriting the Autoconfiguration Entry Points
ddi_report_dev() kernel functionindex iconAttaching and Detaching
ddi_soft_state() kernel functionindex iconDefining the Device Attach Entry Point
ddi_soft_state_fini() kernel function
index iconInitializing and Unloading
index iconManaging Device State
ddi_soft_state_free() kernel function
index iconAttaching and Detaching
index iconManaging Device State
ddi_soft_state_init() kernel function
index iconInitializing and Unloading
index iconManaging Device State
ddi_soft_state_zalloc() kernel function
index iconAttaching and Detaching
index iconManaging Device State
ddi_umem_alloc() kernel functionindex iconAllocating and Freeing Kernel Memory
ddi_umem_free() kernel function
index iconAllocating and Freeing Kernel Memory
index iconChecking for Changes, Cleaning Up, and Detaching
deadman kernel featureindex iconDevice Driver Testing Tips
debugging device drivers
tipsindex iconDevice Driver Debugging and Tuning Tips
detach() entry point
index iconAttaching and Detaching
index iconDefining the Device Detach Entry Point
index iconWriting the Autoconfiguration Entry Points
index iconDefining the Module Unload Entry Point
dev_info device structure
index iconDefining the Get Driver Information Entry Point
index iconDefining the Device Detach Entry Point
index iconDefining the Device Attach Entry Point
dev_ops driver structure
index iconDefining the Device Operations Structure
index iconWriting the Driver Data Structures
index iconDevice Drivers
devfs devices file systemindex iconDevices Directories
devfsadmd devices file system administration commandindex iconDevice Names
device driversindex iconDevice Drivers
addingindex iconAdding, Updating, and Removing a Driver
coding tipsindex iconDevice Driver Coding Tips
compilingindex iconBuilding a Driver
condition variablesindex iconManaging Thread Synchronization
conditional compilationindex iconDevice Driver Coding Tips
debugging tipsindex iconDevice Driver Debugging and Tuning Tips
development guidelinesindex iconTips for Developing Device Drivers
directoriesindex iconDriver Directory Organization
addingindex iconDriver Directory Organization
entry points
index iconOverview of the Template Driver Example
index iconTypical Device Driver Entry Points
  See alsoindex iconentry points
  See alsoindex iconentry points
how usedindex iconEntry Points for Different Types of Drivers
I/O controls
index iconExercising the Driver's I/O Controls
index iconReporting and Setting Device Size and Re-initializing the Device
installing
index iconDevice Driver Testing Tips
index iconInstalling a Driver
linkingindex iconBuilding a Driver
loading
index iconAdding the Template Driver
index iconLoading and Unloading a Driver
index iconDriver Directory Organization
mutexesindex iconManaging Thread Synchronization
naming conventionsindex iconDevice Driver Coding Tips
recommended housekeepingindex iconDevice Driver Coding Tips
removing
index iconRemoving the Template Driver
index iconAdding, Updating, and Removing a Driver
structures  Seeindex icondriver structures
test areasindex iconTesting a Driver
testingindex iconDevice Driver Testing Tips
thread synchronizationindex iconManaging Thread Synchronization
tuningindex iconDevice Driver Debugging and Tuning Tips
unloading
index iconRemoving the Template Driver
index iconLoading and Unloading a Driver
updatingindex iconAdding, Updating, and Removing a Driver
device instance pointer (dip)
index iconDefining the Get Driver Information Entry Point
index iconDefining the Device Detach Entry Point
index iconDefining the Device Attach Entry Point
device numberindex iconDevice Numbers
device structures
dev_info
index iconDefining the Get Driver Information Entry Point
index iconDefining the Device Detach Entry Point
index iconDefining the Device Attach Entry Point
device treeindex iconDevice Tree
devices
blkindex iconCharacter and Block Devices
block
index iconCharacter and Block Devices
index iconDevices as Files
character
index iconWriting the Template Driver
index iconCharacter and Block Devices
index iconDevices as Files
configuration files
index iconWriting the Device Configuration File
index iconWriting a Configuration File
device treeindex iconDevice Tree
directories
index iconDevice Names
index iconDevices Directories
exclusive accessindex iconLocking Rules for Quote Of The Day Version 3
file system
devfsindex iconDevices Directories
devfsadmdindex iconDevice Names
instances
index iconDefining the Get Driver Information Entry Point
index iconDefining the Device Detach Entry Point
index iconDefining the Device Attach Entry Point
index iconDevice Numbers
md metadeviceindex iconCharacter and Block Devices
namesindex iconDevice Names
nexus
index iconDevice Tree
index iconEntry Points for Different Types of Drivers
numbers
index iconDefining the Device Attach Entry Point
index iconDevice Numbers
index iconDevices Directories
prefixes
index iconDeclaring the Autoconfiguration Entry Points
index iconWriting a Driver Module
properties
index iconDefining the Report Driver Property Information Entry Point
index iconWriting a Configuration File
pseudo
index iconTemplate Driver Example
index iconEntry Points for Different Types of Drivers
ramdisk
index iconModifying Data Stored in Kernel Memory
index iconEntry Points for Different Types of Drivers
rawindex iconCharacter and Block Devices
reading
index iconReading the Device
index iconBuilding, Installing, and Using Quote Of The Day Version??2
index iconReading and Writing the Device
special filesindex iconDevices as Files
stateindex iconManaging Device State
writing
index iconWriting the Device
index iconWriting New Data
index iconModifying Data Stored in Kernel Memory
index iconReading and Writing the Device
devmap() entry pointindex iconUser and Kernel Address Spaces on x86 and SPARC Machines
dmesg commandindex iconAttaching and Detaching
driver structures
cb_ops
index iconWriting New Data
index iconDefining the Character and Block Operations Structure
index iconWriting the Driver Data Structures
index iconDevice Drivers
character and block operations structureindex iconDefining the Character and Block Operations Structure
dev_ops
index iconDefining the Device Operations Structure
index iconWriting the Driver Data Structures
index iconDevice Drivers
device operations structureindex iconDefining the Device Operations Structure
modinfoindex iconDefining the Module Information Entry Point
modldrv
index iconDefining the Module Linkage Structures
index iconWriting the Driver Data Structures
modlinkage
index iconDefining the Module Linkage Structures
index iconWriting the Driver Data Structures
index iconDefining the Module Initialization Entry Point
module linkage structuresindex iconDefining the Module Linkage Structures
driver.conf fileindex iconWriting a Configuration File
drivers  Seeindex icondevice drivers
DTrace analyzerindex iconDevice Driver Debugging and Tuning Tips