COE 758 Lecture Notes - Lecture 6: Device Driver, Spooling, Eeprom

39 views3 pages
Uniform format, printa.
Hide device detailsb.
Error displayc.
Protectiond.
Buffering of datae.
Software goals of Input/output1.
Multi layers for software:
Input/ Output
User software: 1.
Formats how to access file-
Generates a request that passes it to the OS
-
Prevents keeping a device active indefinitely (spooling)-
OS2.
Protection-
Buffer data-
Error handling-
Device Driver3.
Hide the details of each device, has initialization, control
-
Interrupt Handler4.
When the device finishes, it generates interrupt to processor
-
Device5.
Character-
Block
-
Types:
Oragnization - connects input/output devices through a bus to processor memory bus
Communication:
Controller has registers that maps to processor memory:
Performance of input/output affects system overall performance-
I/O slowest portion of system is amdhahl's law
-
STATUS: memory mapped registers can initialize data transfer through initializing: size of data to be
transferred and starting address. Transfer 1KB from location 1000, then the controller knows that it
wants to transfer that 1KB in or out using DMA (direct memory access). When it finishes transferring
data, the controller interrupts the processor
Lecture 6
Monday, 22 October 2018 10:22 AM
Lectures Page 1
Unlock document

This preview shows page 1 of the document.
Unlock all 3 pages and 3 million more documents.

Already have an account? Log in

Document Summary

Software goals of input/output a. b. c. d. e. Generates a request that passes it to the os. Hide the details of each device, has initialization, control. When the device finishes, it generates interrupt to processor. Oragnization - connects input/output devices through a bus to processor memory bus. Controller has registers that maps to processor memory: Status: memory mapped registers can initialize data transfer through initializing: size of data to be transferred and starting address. Transfer 1kb from location 1000, then the controller knows that it wants to transfer that 1kb in or out using dma (direct memory access). When it finishes transferring data, the controller interrupts the processor. I/o slowest portion of system is amdhahl"s law. Spin platters, so that head is on top of sector. 8 sectors in a track and then it takes 8 revolution revs to access a full track.

Get access

Grade+20% OFF
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers