SlideShare a Scribd company logo
2
Most read
5
Most read
6
Most read
Input & Output Hardware
Operating Systems
Input & Output 1CSE-2018
Overview
 What is I/O?
 Categories of I/O Devices
 Device drivers & Device controllers
 Communication in I/O devices
 Polling & Interrupts
Input & Output 2CSE-2018
What is I/O Device ?
 An input device sends information to a computer system for
processing, and an output device reproduces or displays the
results of that processing
Input & Output 3CSE-2018
Categories
 Block Devices
 Character Devices
Input & Output 4CSE-2018
Block Devices Character Devices
 Driver communicates by
sending entire block of data
 Ex- Harddisk ,Usb
Cameras..etc  Driver communicates by
sending
characters(Bytes,Octets)
 Ex- Serial ports, Parralel
ports
Input & Output 5CSE-2018
Device driver Device controllers
 Software modules that
handles a particular device.
 OS needs it to handle all
I/O devices.
 Works as interface b/w
device & device drivers.
 It converts serial bit streams
into block of bytes.
Input & Output 6CSE-2018
Synchronous Vs Asynchronous OS
 CPU execution waits while
I/O proceeds.
 I/O proceeds concurrently
with CPU execution
Input & Output 7CSE-2018
Communication to I/O devices
 Three approaches…
 Special Instruction I/O
 Memory-mapped I/O
 DMA (Direct Memory access)
Input & Output 8CSE-2018
Special instruction I/O
CPU instructions , specially made to control I/O devices.
Memory-mapped I/O
The device is connected directly to certain main memory
locations
OS allocates buffer in memory and informs I/O device to use
that buffer to send data to the CPU.
Memory mapped IO is used for most high-speed I/O devices
like disks, communication interfaces.
Input & Output 9CSE-2018
Direct Memory Access (DMA)
 DMA means CPU grants I/O module authority to
read from or write to memory without involvement.
 DMA module itself controls exchange of data
between main memory and the I/O device.
Input & Output 10CSE-2018
Polling
 Polling is the simplest way for an I/O device to
communicate with the processor.
 The I/O device simply puts the information in a
Status register, and the processor must come and get
the information.
 This is an inefficient method and much of the
processors time is wasted on unnecessary polls.
Input & Output 11CSE-2018
Interrupts
 An interrupt is a signal to the microprocessor from a
device that requires attention.
 When the interrupting device has been dealt with,
the CPU continues with its original task as if it had
never been interrupted.
Input & Output 12CSE-2018

More Related Content

PPTX
cloud storage ppt
PDF
Process scheduling (CPU Scheduling)
PPTX
Operating Systems: Virtual Memory
PPTX
Lecture 1.pptx
PDF
input/ output in java
PPTX
Quantum Computing.pptx
PDF
Design Thinking
PPT
Udpfistandards
cloud storage ppt
Process scheduling (CPU Scheduling)
Operating Systems: Virtual Memory
Lecture 1.pptx
input/ output in java
Quantum Computing.pptx
Design Thinking
Udpfistandards

What's hot (20)

PPTX
I/O Management
PPTX
Types of operating system
PPTX
Types of Operating System
PPT
Operating System-Threads-Galvin
PPTX
PPTX
Operating System Operations ppt.pptx
PDF
Multithreading
PPTX
Linux vs windows
PPT
Unix File System
PPTX
Operating system - Process and its concepts
PPTX
Modes of transfer
PPTX
Presentation on Operating System & its Components
PPTX
Operating systems
PPTX
evolution of operating system
PPT
Chapter 1: Introduction to Operating System
PPTX
Evolution of os
PPTX
Operating Systems & Applications
PPTX
Asynchronous data transfer
PPTX
Motherboard, It's Functions and It's Components
PPTX
Linux operating system ppt
I/O Management
Types of operating system
Types of Operating System
Operating System-Threads-Galvin
Operating System Operations ppt.pptx
Multithreading
Linux vs windows
Unix File System
Operating system - Process and its concepts
Modes of transfer
Presentation on Operating System & its Components
Operating systems
evolution of operating system
Chapter 1: Introduction to Operating System
Evolution of os
Operating Systems & Applications
Asynchronous data transfer
Motherboard, It's Functions and It's Components
Linux operating system ppt
Ad

Similar to Input output hardware of operating system (20)

PPTX
Input output in computer Orgranization and architecture
PDF
IO_ORGANIZATION.pdf
PPTX
IO and file systems
PPTX
Computer architecture input output organization
PPTX
Lec 1 Intro to mp.pptx MICROPROCESSOR & MICROCONTROLLER
PPTX
PPTX
1834902155 aka asgn 313
PPTX
Input Output - Computer Architecture
PPTX
IO SYSTEM AND CASE STUDY STRUCTURE
PPTX
MODULE 5-1.computer organization and archit
PDF
chapter5-Input-output.pdf
PPTX
input output ports
PPT
Unit4_IO_13623_AnilRawat.ppt
PPTX
Operating System Case Study and I/O System
PPT
Lec 1 Intro to mp.ppt
PPT
Lec 1 Intro to mp.ppt
PPT
Lec 1 Intro to mp.ppt
PPT
Lec 1 intro to mp
PDF
Basic Computer organisation class 11th presentation for any program
PPT
Lec 1 Intro to mp.ppt
Input output in computer Orgranization and architecture
IO_ORGANIZATION.pdf
IO and file systems
Computer architecture input output organization
Lec 1 Intro to mp.pptx MICROPROCESSOR & MICROCONTROLLER
1834902155 aka asgn 313
Input Output - Computer Architecture
IO SYSTEM AND CASE STUDY STRUCTURE
MODULE 5-1.computer organization and archit
chapter5-Input-output.pdf
input output ports
Unit4_IO_13623_AnilRawat.ppt
Operating System Case Study and I/O System
Lec 1 Intro to mp.ppt
Lec 1 Intro to mp.ppt
Lec 1 Intro to mp.ppt
Lec 1 intro to mp
Basic Computer organisation class 11th presentation for any program
Lec 1 Intro to mp.ppt
Ad

Recently uploaded (20)

PPTX
OOP with Java - Java Introduction (Basics)
PPTX
Welding lecture in detail for understanding
PDF
Digital Logic Computer Design lecture notes
DOCX
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
PDF
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
PDF
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
PDF
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
PDF
Well-logging-methods_new................
PPTX
Sustainable Sites - Green Building Construction
PDF
PPT on Performance Review to get promotions
PPTX
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
PDF
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
PPTX
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
PPTX
web development for engineering and engineering
PDF
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
PDF
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
PPTX
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
PPTX
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
PPT
Project quality management in manufacturing
PPTX
bas. eng. economics group 4 presentation 1.pptx
OOP with Java - Java Introduction (Basics)
Welding lecture in detail for understanding
Digital Logic Computer Design lecture notes
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
Well-logging-methods_new................
Sustainable Sites - Green Building Construction
PPT on Performance Review to get promotions
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
web development for engineering and engineering
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
Project quality management in manufacturing
bas. eng. economics group 4 presentation 1.pptx

Input output hardware of operating system

  • 1. Input & Output Hardware Operating Systems Input & Output 1CSE-2018
  • 2. Overview  What is I/O?  Categories of I/O Devices  Device drivers & Device controllers  Communication in I/O devices  Polling & Interrupts Input & Output 2CSE-2018
  • 3. What is I/O Device ?  An input device sends information to a computer system for processing, and an output device reproduces or displays the results of that processing Input & Output 3CSE-2018
  • 4. Categories  Block Devices  Character Devices Input & Output 4CSE-2018
  • 5. Block Devices Character Devices  Driver communicates by sending entire block of data  Ex- Harddisk ,Usb Cameras..etc  Driver communicates by sending characters(Bytes,Octets)  Ex- Serial ports, Parralel ports Input & Output 5CSE-2018
  • 6. Device driver Device controllers  Software modules that handles a particular device.  OS needs it to handle all I/O devices.  Works as interface b/w device & device drivers.  It converts serial bit streams into block of bytes. Input & Output 6CSE-2018
  • 7. Synchronous Vs Asynchronous OS  CPU execution waits while I/O proceeds.  I/O proceeds concurrently with CPU execution Input & Output 7CSE-2018
  • 8. Communication to I/O devices  Three approaches…  Special Instruction I/O  Memory-mapped I/O  DMA (Direct Memory access) Input & Output 8CSE-2018
  • 9. Special instruction I/O CPU instructions , specially made to control I/O devices. Memory-mapped I/O The device is connected directly to certain main memory locations OS allocates buffer in memory and informs I/O device to use that buffer to send data to the CPU. Memory mapped IO is used for most high-speed I/O devices like disks, communication interfaces. Input & Output 9CSE-2018
  • 10. Direct Memory Access (DMA)  DMA means CPU grants I/O module authority to read from or write to memory without involvement.  DMA module itself controls exchange of data between main memory and the I/O device. Input & Output 10CSE-2018
  • 11. Polling  Polling is the simplest way for an I/O device to communicate with the processor.  The I/O device simply puts the information in a Status register, and the processor must come and get the information.  This is an inefficient method and much of the processors time is wasted on unnecessary polls. Input & Output 11CSE-2018
  • 12. Interrupts  An interrupt is a signal to the microprocessor from a device that requires attention.  When the interrupting device has been dealt with, the CPU continues with its original task as if it had never been interrupted. Input & Output 12CSE-2018

Editor's Notes

  • #2: Assumptions: Graduate level Operating Systems Making Choices about operation systems Why a micro-century? …just about enough time for one concept