Driver对 (一对两对的对):specific/mini VS general

老是听说miniport,port,在这里算是搞清楚了。mini就是specific(特殊)的意思。在微软的驱动层次里面,最底层的一般都是比较特殊的,但是为了满足系统的可拓展、可维护、通用等要求,微软做了很多类似HAL的东东。存储类型有很多,比如ATA,SCSI,PCIe/NVMe等等。为了尽量的抽象,微软搞出了像storage port, 这样的东西。我在这里面定义好一系列的接口,你下层的mini/specific驱动开发照着这些接口来写就行了,别整幺蛾子。我说“天王盖地虎”,你说什么?宝塔镇蛇妖?错,你也要说“天王盖地虎”。系统使用的时候咱俩是一对,我是老大,先找我,我能干了,钱我赚。我干不了再转给你小弟(mini/specific)干。我吃肉你喝汤吧。

 

上级领导 --> [  某某 port driver ] --> [ 某某 mini driver ] --> 硬件

 

Available driver pairs

The different technology-specific driver models use a variety of names for the specific and general pieces of a driver pair. In many cases, the specific portion of the pair has the prefix "mini." Here are some of (specific, general) pairs that are available:

  • (display miniport driver, display port driver)
  • (audio miniport driver, audio port driver)
  • (storage miniport driver, storage port driver)
  • (battery miniclass driver, battery class driver)
  • (HID minidriver, HID class driver)
  • (changer miniclass driver, changer port driver)
  • (NDIS miniport driver, NDIS library)

Note As you can see in the list, several of the models use the term class driver for the general portion of a driver pair. This kind of class driver is different from a standalone class driver and different from a class filter driver.

 

正所谓:

我说上树你爬墙,爬来爬去被骂娘

老老实实做实事,和谐社会喜洋洋

 

posted @ 2017-04-21 15:28  平哥的平凡世界  阅读(444)  评论(0编辑  收藏  举报