最新消息:20210816 当前crifan.com域名已被污染,为防止失联,请关注(页面右下角的)公众号

LDD3 – Chapter 1. An Introduction to Device Drivers

工作和技术 crifan 1371浏览 0评论

LDD3 – Chapter 1. An Introduction to Device Drivers

1.choose an acceptable trade-off between "the programming time of the driver" VS "the flexibility of the driver"
在驱动开发时间和灵活性之间做一个取舍。

2.
"what capabilities are to be provided" (the mechanism)
"how those capabilities can be used" (the policy)
分层设计,是底层细节对上层透明,上层只关心接口。

3.驱动需要关心的是如何让底层硬件动起来,而具体上层用户具体如何使用,开发者不应该做任何假设。

4.
LDD3:
http://lwn.net/Kernel/LDD2/

LDD2:
http://lwn.net/Kernel/LDD2/

转载请注明:在路上 » LDD3 – Chapter 1. An Introduction to Device Drivers

发表我的评论
取消评论

表情

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
79 queries in 0.153 seconds, using 22.03MB memory