Ch13 - Chapter 13 I/O Systems Chapter 13 I/O Systems s I/O Hardware s Application I/O Interface s Kernel I/O Subsystem s Transforming I/O Requests

Info iconThis preview shows pages 1–13. Sign up to view the full content.

View Full Document Right Arrow Icon
Chapter 13: I/O Systems Chapter 13: I/O Systems
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
13.2 Silberschatz, Galvin and Gagne ©2005 Operating System Concepts Chapter 13: I/O Systems Chapter 13: I/O Systems I/O Hardware Application I/O Interface Kernel I/O Subsystem Transforming I/O Requests to Hardware Operations Streams Performance
Background image of page 2
13.3 Silberschatz, Galvin and Gagne ©2005 Operating System Concepts Objectives Objectives Explore the structure of an operating system’s I/O subsystem Discuss the principles of I/O hardware and its complexity Provide details of the performance aspects of I/O hardware and software
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
13.4 Silberschatz, Galvin and Gagne ©2005 Operating System Concepts I/O Hardware I/O Hardware Incredible variety of I/O devices Common concepts Port Bus ( daisy chain or shared direct access) Controller ( host adapter ) I/O instructions control devices Devices have addresses, used by Direct I/O instructions Memory-mapped I/O
Background image of page 4
13.5 Silberschatz, Galvin and Gagne ©2005 Operating System Concepts A Typical PC Bus Structure A Typical PC Bus Structure
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
13.6 Silberschatz, Galvin and Gagne ©2005 Operating System Concepts Device I/O Port Locations on PCs (partial) Device I/O Port Locations on PCs (partial)
Background image of page 6
13.7 Silberschatz, Galvin and Gagne ©2005 Operating System Concepts Polling Polling Determines state of device command-ready busy Error Busy-wait cycle to wait for I/O from device
Background image of page 7

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
13.8 Silberschatz, Galvin and Gagne ©2005 Operating System Concepts Interrupts Interrupts CPU Interrupt-request line triggered by I/O device Interrupt handler receives interrupts Maskable to ignore or delay some interrupts Interrupt vector to dispatch interrupt to correct handler Based on priority Some nonmaskable Interrupt mechanism also used for exceptions
Background image of page 8
13.9 Silberschatz, Galvin and Gagne ©2005 Operating System Concepts Interrupt-Driven I/O Cycle Interrupt-Driven I/O Cycle
Background image of page 9

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
13.10 Silberschatz, Galvin and Gagne ©2005 Operating System Concepts Intel Pentium Processor Event-Vector Table Intel Pentium Processor Event-Vector Table
Background image of page 10
13.11 Silberschatz, Galvin and Gagne ©2005 Operating System Concepts Direct Memory Access Direct Memory Access Used to avoid programmed I/O for large data movement Requires DMA controller Bypasses CPU to transfer data directly between I/O device and memory
Background image of page 11

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 12
Image of page 13
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 01/21/2012 for the course COMPUTER CSCI 593 taught by Professor Hamnes during the Spring '11 term at Aston University.

Page1 / 38

Ch13 - Chapter 13 I/O Systems Chapter 13 I/O Systems s I/O Hardware s Application I/O Interface s Kernel I/O Subsystem s Transforming I/O Requests

This preview shows document pages 1 - 13. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online