Presentation is loading. Please wait.

Presentation is loading. Please wait.

Overview of Windows Driver Development Reference: us/gstart/hh/gstart/gs_intro_031j.asp.

Similar presentations


Presentation on theme: "Overview of Windows Driver Development Reference: us/gstart/hh/gstart/gs_intro_031j.asp."— Presentation transcript:

1 Overview of Windows Driver Development Reference: http://msdn.microsoft.com/library/default.asp?url=/library/en- us/gstart/hh/gstart/gs_intro_031j.asp

2 Steps in Driver Development Step 1: Understand Driver and OS Basics Step 2: Determine Device-Specific Driver Requirements Requirements Step 3: Make Driver Design Decisions Step 4: Build, Test, and Debug the Driver Step 5: Provide a Driver Package Step 6: Distribute the Driver Which OS your driver will run on which device installation components you must provide & what Windows expects during device installation.

3 Driver and Operating System  Outline  Overview of System Components  User-Mode Drivers & Kernel-Mode Drivers  Layered Driver Architecture  Device Drivers and File System Drivers Defined  Windows Driver Model (WDM) Defined  Operating System Concept

4 User Mode Driver & AP: * can use the routines of Win32 API. * The Win32 AIP, in turn, call exported driver and OS kernel routines Kernel Mode Driver : can use the routines of windows component in OS kernel I/O, configuration, Plug&Play Memory management hardware-dependent (98,Me does not supported)

5 The major internal components of the NT-based OS

6 Components of a Driver Package Supporting a device involves the following components  The device  Driver files  Installation files  Other files

7 Driver Files Components of a Driver Package  The driver files provides the I/O interface for a device  a dynamic-link library with the.sys file extension  Exception: Boot Drivers ( 由 txtsetup.oem 指定 )  Installation  Setup copies the.sys file  %windir%\system32\drivers directory the.sys file  %windir%\system32\drivers directory the OS loader loads the driver at boot time before the executive system receives control. Ex: disk driver


Download ppt "Overview of Windows Driver Development Reference: us/gstart/hh/gstart/gs_intro_031j.asp."

Similar presentations


Ads by Google