Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Reading: I/O Devices. Read OSTEP chapter 36 (http://pages.cs.wisc.edu/~remzi/OST

ID: 3716920 • Letter: R

Question

Reading: I/O Devices. Read OSTEP chapter 36 (http://pages.cs.wisc.edu/~remzi/OSTEP/file-devices.pdf) and answer the following questions:

---------------------------------------------------------------------------------------------------

1. In Figure 36.5 ("The xv6 IDE Disk Driver (Simplified)" figure on Page 10) , 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.

2. 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?

Explanation / Answer

1)

C) a status register

2)

4 bytes of information is used to identify a location on disk where read or write will be performed