Semester : SEMESTER 6
Subject : Embedded System
Year : 2018
Term : MARCH
Scheme : 2015 Full Time
Course Code : EC 308
Page:50
மண. ರಾಗು oie. Action(s)
Detaching and deregistration Detaches and deregisters the port (it may be a register or me
for the various devices at distinctly different addresses ang al ட்டு
codes for detecting any collision between existing addresses + பூவ
addresses reallocation to the remaining attached (registered) ಹಾ Case
Restricting device to a specific process Restricts a device access to one process (task) only, at an instant
Device sharing Permits sharing of access of a device to the set of Processes.
process (task) ೩! an instant.
Ces,
DUE ما जाह
Device control A manager can also provide for remote control of the devices from the
server at the service provider. (For example, mobile devices with ery
the service-provider) tat
Device access management (i) sequential access, (ii) random access, (iii) semi-random access
(iv) serial communication may be by UART or USB, and (५) 4 (ज more}
serial bits in parallel during 105 (for example, SDIO) (Chapter 3), The device
manager provides the necessary interface.
Device buffer management Device hardware may merely have a single byte buffer. or double buffer بو
8-byte buffer. A device buffer manager uses a memory manager to buffer
the 1/0 data streams from the device that sends the data and manages
computations without wait while the buffer receives the data at a slow rate!
Also used are the multiple buffers and producer—consumer-type bounded
buffers (Section 7.7.6).
Device queue, circular-queue or Device IO data streams from the device can be organized as the queues,
blocks of queue management circular queues and blocks of queues (Section 5.4.3).
Device driver A manager manages the device drivers. A device driver or a software
driver is the software for interface with the device hardware through
the buses on the one hand and for interface with the OS and application
on other hand. The software commands for read and write enables
the read and write functions through the ISRs called by using the 51157
The interface sofware to OS enables the creation, connection, binding,
opening and closing of the ०८४८८ (Section 4.1).
Device drivers updating and A manager can also provide for updating the driver software from the Internet
uploading of new device functions and uploading the new device functions, which become available 818 ات
date.
Backup and restoration A manager can also provide for the backup and restoration for drivers.
١ For example, when the computations for deciphering the input data is slower than the receiving data in the buffer, the Sa
will soon choke. When the computations for deciphering the input data is faster than the receiving data in the buffet
computations will wait for data in buffer.
2 For hardware devices, a device ISR can also be called a system ISR or a system interrupt handler. = cag device
3 For example, Unix device driver components are: (i) device ISR, (ii) device initialization codes (codes for سر
control registers) and (iii) system initialization codes, which run just after the system resets (at bootstrapping):
Table 8.7 gives the set of OS command functions for a device.