Question
Reading: I/O Devices . Read OSTEP chapter 36 and answer the following questions by editing hw13.txt. 1) When would you tend to prefer polling to
Reading: I/O Devices. Read OSTEP chapter 36 and answer the following questions by editing hw13.txt.
1) When would you tend to prefer polling to interrupts in interacting with an I/O device? a) when the device supports many commands, b) when the device can perform a command quickly, or c) when the interrupt handler table is very large.
2) (Yes/No) Is it possible for software to interact with an I/O device using both polling and interrupts?
3) (T/F) About ? of the Linux source code is device driver code.
4) In Figure 36.5, in function ide_start_request(), what kind of register is written to on the line with comment '// this is a WRITE' ? a) a command register b) a data register c) a status register.
5) In the IDE example of Section 36.8, how many bytes are used to identify a location on disk where a read or write will be performed?
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started