计算机驱动介绍管理(英文版).pptx
Driver DefinitionWindows DriverDos DriverLinux DriverQuizWhat is Driver?Why Driver?Major Driver Development Tool?OS Drivers:DosWindowsLinuxWhy Microsoft Verifies DriversWhy Microsoft Verifies Drivers 1,It is in Microsofts best interest to promote two (conflicting) goals. Provide or promote as much interoperability for Windows 2000 and varied hardware devices as possible through the convenient distribution of device drivers. 2,Ensure that device drivers are stable and do not compromise the integrity of the system.Digital SignaturesDigital Signatures As part of the WHQL program, a certified driver obtains a digital signature that permits Windows 2000 to install the driver without the unprofessional warning of imminent danger. The digital signature consists of several components. A catalog file (.CAT) that is included with the distributed driver package. It contains the actual digital signature assigned by Microsoft. An INF file entry in the Versions section that references the .CAT file. Windows 2000 policy that restricts whether or not an unsigned driver can be installed.VDDKernel modeDriverFSDsLegacyPnPVideoWDMClassMiniWindows 2000概述概述 VDD:VDD: VDD通过屏蔽I/O权限掩码来捕获端口存取操作,它基本上是模拟硬件操作,这对于那些直接对裸机硬件编程的应用程序特别有用。尽管这种驱动程序在Windows 98和Windows 2000中共享一个名称并且有相同的功能,但实际上它们完全不同。我们用VDD缩写代表这种驱动程序,用VxD缩写代表Windows 98中的虚拟设备驱动程序以示区别。 PnPPnP: PnP PnP驱动程序就是一种遵循Windows 2000即插即用协议的内核模式驱动程序 WDM:WDM:WDMWDM驱动程序是一种PnP驱动程序,它同时还遵循电源管理协议,并能在Windows 98和Windows 2000间实现源代码级兼容 IRPFIDO过滤器设备驱动过滤器设备驱动 FDO总线驱动程序总线驱动程序功能驱动功能驱动过滤器设备驱动过滤器设备驱动PDOFIDOWINDOWS网络驱动程序实现网络驱动程序实现OSI七层结构中自下而上的七层结构中自下而上的4个协议层:个协议层:物理层:物理层: 接收和转发无结构的比特流,由接收和转发无结构的比特流,由NIC硬件实现;硬件实现;数据链路:数据链路:分分LLC和和MAC两个子层。两个子层。LLC将将FRAME从一个从一个NODE 传输到另一个传输到另一个NODE,在,在WINDOWS中由传输驱动中由传输驱动 程序实现;程序实现;MAC负责负责ACCESS网络媒介,检查网络媒介,检查FRAME 错误错误,一般由一般由NIC实现。实现。网络层:网络层:控制子网的运行,决定了数据传输的路径。由传输驱动控制子网的运行,决定了数据传输的路径。由传输驱动程序程序 实现。实现。传输层:传输层:确保信息在网络的任意两节点间无差错的传输。由传输确保信息在网络的任意两节点间无差错的传输。由传输驱动驱动 程序实现。程序实现。TDILAN协议驱动程序协议驱动程序NDIS中间层驱动程序中间层驱动程序NDIS MINIPORT驱动程序驱动程序NDIS MINIPORT驱动程序驱动程序本地介质相关协议本地介质相关协议LAN介质类型介质类型本机介质类型本机介质类型NDIS接口接口NICNIC未完待续 1. Storage Driver 2. Audio Driver 3. File System Drivers未完待续未完待续