Professional Documents
Culture Documents
MODULE 4
DEVICE DRIVERS
DEVICE DRIVER - INTRO
A piece of software
Acts as a bridge b/w OS & H/W
Operates or controls a particular type of
device that is attached to a computer.
Provides asoftware interfaceto hardware
devices, enabling OS and other computer
programs to access H/W functions without
needing to know precise details of the
hardware being used.
TOPOLOGY OF USER APPS
AND H/W INTERACTION IN
RTOS
DEVICE DRIVERS
HARDWARE
WHY DEVICE DRIVERS?
OS KERNEL ARCH . Do not allow
direct device access from user appln.
All device related access should flow
through OS kernel
OS based PROD. ARCH user applns
talk to OS kernel for all info exch.
with H/W peripherals.
The OS kernel is responsible for
routing the user applns to concerned
H/W peripheral.
RESPONSIBILITIES OF DD
Initiating commn. with H/W
Managing
Establishing connectivity with H/W
Initialising the H/W setting up
registers
Transfering data
Drivers are hardware-dependent andoperating-system-specific.
NOTE:1