Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
9 views2 pages

Device Management Notes

Device Management is a crucial function of an Operating System that manages I/O devices and acts as a bridge between them and user programs. It involves device controllers, device drivers, and various methods of I/O communication, including Programmed I/O, Interrupt-Driven I/O, and Direct Memory Access. The document also distinguishes between Memory-Mapped I/O and I/O-Mapped I/O, highlighting their operational differences.

Uploaded by

Vivek Sharma
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views2 pages

Device Management Notes

Device Management is a crucial function of an Operating System that manages I/O devices and acts as a bridge between them and user programs. It involves device controllers, device drivers, and various methods of I/O communication, including Programmed I/O, Interrupt-Driven I/O, and Direct Memory Access. The document also distinguishes between Memory-Mapped I/O and I/O-Mapped I/O, highlighting their operational differences.

Uploaded by

Vivek Sharma
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Device Management - Operating System Notes

1. What is Device Management?

Device Management is one of the important functions of an Operating System (OS). It controls and manages

all input/output (I/O) devices such as keyboard, mouse, monitor, printer, hard disk, USB, etc. The OS acts as

a bridge between the devices and the user programs.

2. General Device Characteristics

- Speed Differences: Devices work at different speeds compared to CPU.

- Modes of Operation: Input only (keyboard), output only (printer), both (hard disk).

- Data Transfer: Devices may send/receive data in characters or blocks.

- Shared or Dedicated: Some devices can be shared; others are dedicated to one user.

3. Device Controllers

A device controller is a hardware component that connects a device to the system. It has its own processor

and registers. It controls how data is transferred between device and system.

4. Device Drivers

A device driver is a software program that allows the OS to communicate with hardware devices. It acts as a

translator, hides hardware details, and each device has its own driver.

5. Types of I/O Communication

There are 3 main methods:

a) Programmed I/O (Polling): CPU checks device repeatedly. Wastes CPU time.

b) Interrupt-Driven I/O: Device sends interrupt signal when ready. More efficient.

c) Direct Memory Access (DMA): Device transfers data directly to memory using DMA controller.

6. Memory-Mapped I/O vs I/O-Mapped I/O

a) Memory-Mapped I/O: Devices use memory address space. CPU uses normal instructions.
Device Management - Operating System Notes

b) I/O-Mapped I/O: Devices have separate I/O instructions. Simpler but limited.

7. Summary Table

Device Controller -> Hardware that controls device operation

Device Driver -> Software that helps OS interact with the device

Programmed I/O -> CPU checks device again and again

Interrupt-Driven I/O -> Device tells CPU when it's ready

DMA -> Device transfers data directly to memory

Memory-Mapped I/O -> Devices use memory address space

I/O-Mapped I/O -> Devices have separate I/O instructions

You might also like