Reading
All of Chapter 1
Study Questions
- What is the role of the device driver in the Linux kernel?
- What is the distinction between mechanism and policy?
- Should the application or the device driver determine how to use the hardware?
- (T or F) Different drivers can offer different capabilities for the same device?
- What is a policy-free driver?
- Be able to explain asynchronous versus synchronous operation in an OS context (search the internet for this).
- Know the 5 major roles for the Linux kernel.
- What is a loadable module?
- Know the three basic classes of devices and know the characteristics for each.
- Be able to explain the loopback interface (software or hardware). What is it (search the internet). What is the significance of the IP address 127.0.0.1?
- Why is it important to treat data from user processes with suspicion when writing device drivers?