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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!