ch13 - perating System Concepts with Java – 7 th Edition,...

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

View Full Document Right Arrow Icon

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

View Full DocumentRight Arrow Icon

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

View Full DocumentRight Arrow Icon

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

View Full DocumentRight Arrow Icon

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

View Full DocumentRight Arrow Icon

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

View Full DocumentRight Arrow Icon

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

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: perating System Concepts with Java – 7 th Edition, Nov 15, 2006 Silberschatz, Galvin and Gagne ©2007 Chapter 13: I/O Systems 13.2 Silberschatz, Galvin and Gagne ©2007 Operating System Concepts with Java – 7 th Edition, Nov 15, 2006 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 13.3 Silberschatz, Galvin and Gagne ©2007 Operating System Concepts with Java – 7 th Edition, Nov 15, 2006 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 13.4 Silberschatz, Galvin and Gagne ©2007 Operating System Concepts with Java – 7 th Edition, Nov 15, 2006 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 13.5 Silberschatz, Galvin and Gagne ©2007 Operating System Concepts with Java – 7 th Edition, Nov 15, 2006 A Typical PC Bus Structure 13.6 Silberschatz, Galvin and Gagne ©2007 Operating System Concepts with Java – 7 th Edition, Nov 15, 2006 Device I/O Port Locations on PCs (partial) 13.7 Silberschatz, Galvin and Gagne ©2007 Operating System Concepts with Java – 7 th Edition, Nov 15, 2006 Polling ¡ Determines state of device ¢ command-ready ¢ busy ¢ Error ¡ Busy-wait cycle to wait for I/O from device 13.8 Silberschatz, Galvin and Gagne ©2007 Operating System Concepts with Java – 7 th Edition, Nov 15, 2006 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 13.9 Silberschatz, Galvin and Gagne ©2007 Operating System Concepts with Java – 7 th Edition, Nov 15, 2006 Interrupt-Driven I/O Cycle 13.10 Silberschatz, Galvin and Gagne ©2007 Operating System Concepts with Java – 7 th Edition, Nov 15, 2006 Intel Pentium Processor Event-Vector Table 13.11 Silberschatz, Galvin and Gagne ©2007 Operating System Concepts with Java – 7 th Edition, Nov 15, 2006 Direct Memory Access ¡ Used to avoid programmed I/O...
View Full Document

This note was uploaded on 09/08/2010 for the course CS 149 at San Jose State.

Page1 / 38

ch13 - perating System Concepts with Java – 7 th Edition,...

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

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