Device Driver s/w for controlling/ receiving/ sending data Made up of 3 functions Initializing Device Calling the ISR Resetting status bits after ISR
If Underlying h/w as hidden as possible OS Functions
API- then defines the h/w Device usable – when h/w in the system is changed
Device Management Codes for detecting the presence of devices initializing and testing Allocates address and checks for collision Address Allocation can be – pre-defined, relocatable
Scheduling Multiple Tasks/ Devices using RTOS Each Task has a distinct memory location Tasks – made up of one or more procedure Scheduling by OS - takes care of constraints RTOS kernel important func - schedule transitions of task Ready state - Running State Block state - Running State
Scheduling Multiple Tasks/ Devices using RTOS Tasks can enter into ready state at any time At a time only one task will be in running state Scheduling Algo RMS EDF LLF