现代微机原理与接口技术 T/WDM Device Driver Wizard DriverWorks)-Step 4 of 11 × If your driver controls a hardware device, select the appropriate bus 本例不驱 Select hardware Bus 动硬件 None- driver does not control h C ISA C PCMCIA C PCI C PNPIsa 选择相 C USB CWDM only) C 1394 (WDM only) 应总线 Not used Not used Not used Not used <Back Finish Cancel Help Department of Computer Science Engineering 算机科学与工程系 http://qsyang.yeah.net
http://qsyang.yeah.net 现代微机原理与接口技术 6 选择相 应总线 本例不驱 动硬件
现代微机原理与接口技术 WDM Device Driver Wizard DriverWorks)- Step 5 of 11 Driver Works The next few steps will ask you some questions abou your driver class The WDm device driver create the DriverWizard has a single"driver class a slngle evl ce class. Drivers for NT 4.0 and earlier may have 驱动类 名称 Driver Class This is the name of the ctt class used to implement your 驱动类 File rame This is the file Sample name used for the 文件名 driver class Usually, the defaults shown here do not need to be <Back Next Finish Cancel Help Department of Computer Science Engineering 7 算机科学与工程系 http://qsyang.yeah.net
http://qsyang.yeah.net 现代微机原理与接口技术 7 驱动类 名称 驱动类 文件名
现代微机原理与接口技术 NT/WDM Device Driver Wizard DriverWorks)- Step 6 of 1 Driver Works Select the types of requests that your driver will Read Handle read requests from applications Rite Handle write requests from Flush Handle flush I/0 buffer requests v Device Contro Handle Device io Control messages from applications 选择需要 Internal Device Con Handle Device IO Control messages from other drivers 处理的消 e an Handle cleanup notifications 息句柄 Shut down WDM dr ivers use PNP instead of vlUnload WDM drivers are always unloadable < Back Next> Finish Cancel Hel Department of Computer Science Engineering 算机科学与工程系 http://qsyang.yeah.net
http://qsyang.yeah.net 现代微机原理与接口技术 8 选择需要 处理的消 息句柄
现代微机原理与接口技术 WDM Device Driver Wizard ( DriverWorks)- Step 7 of 11 Driver Works Select queueing method Most hardware devices can only process one I/0 request at a time. Low-level drivers usually use one or more queues to serialize requests Driver managed queues provide the best L:1 None requests are not queued DriverManaged-one or more StartIo style qu SystemManaged single system"provi ded Start. Whi ch functions are serialized? Some requests can be handled immedi ately, while others must be handled one at a time ially) Serialize all Read requests y Serialize all Write requests Serialize all Flush Buffer reque <Back Next Finish Cancel Help Department of Computer Science Engineering 计算机科学与工程 http://qsyangyeah.net
http://qsyang.yeah.net 现代微机原理与接口技术 9
现代微机原理与接口技术 NT/WDM Device Driver Wizard DriverWorks)- Step 8 of 11 X Identify parameters to be loaded from the registry DriverWorks when the DRIVER start Name in Reg var Name Type Default BreakdDnEntry m bBreak BOOLEAN FALSE Add Edit Delete Back dext+Finish_canl」」Ma Department of Computer Science Engineering 10 算机科学与工程系 hte:/gsyangyeahnet
http://qsyang.yeah.net 现代微机原理与接口技术 10