- Oct 02 Thu 2008 01:32
-
工作文
- Jan 28 Mon 2008 17:06
-
DriverEntry's Required Responsibilities
1. 提供各個driver的entry point
Supply entry points for the driver's standard routines.
The driver stores entry points for many of its standard routines in the driver object or driver extension. Such entry points include those for the driver's AddDevice routine, dispatch routines, StartIo routine, and Unload routine. For example, a driver would set the entry points for its AddDevice, DispatchPnP, and DispatchPower routines with statements like the following (Xxx is a placeholder for a vendor-supplied prefix identifying the driver):
Supply entry points for the driver's standard routines.
The driver stores entry points for many of its standard routines in the driver object or driver extension. Such entry points include those for the driver's AddDevice routine, dispatch routines, StartIo routine, and Unload routine. For example, a driver would set the entry points for its AddDevice, DispatchPnP, and DispatchPower routines with statements like the following (Xxx is a placeholder for a vendor-supplied prefix identifying the driver):
- Jan 28 Mon 2008 16:28
-
IRP (I/O Request Packet)
IRP (I/O Request Packet) : 內含command, data的一組封包。系統和Driver溝通時使用。
1. 系統偵測到device,將對應的driver load到memory,呼叫driver的DeviceEntry()。
2. 系統的PnP Manager 呼叫driver的AddDevice( )。
1. 系統偵測到device,將對應的driver load到memory,呼叫driver的DeviceEntry()。
2. 系統的PnP Manager 呼叫driver的AddDevice( )。
- Jan 28 Mon 2008 14:49
-
Standard Driver Routines
Kernal-Mode Driver Reference
Standard Driver Routines
This section describes the required and optional routines that you must implement in your driver to respond to calls from Windows or other drivers. When these routines are called, you must write code that responds to the call and returns the appropriate data in a timely manner.
Standard Driver Routines
This section describes the required and optional routines that you must implement in your driver to respond to calls from Windows or other drivers. When these routines are called, you must write code that responds to the call and returns the appropriate data in a timely manner.
- Jan 22 Tue 2008 17:48
-
USB supported classes
1. Hub Device Class
Microsoft provides the usbhub.sys driver for managing USB hubs. For more information about the relationship between the hub class driver and the USB stack, see USB Driver Stack. Also for general information about the hub device class, see the USB technology Web site.
Microsoft provides the usbhub.sys driver for managing USB hubs. For more information about the relationship between the hub class driver and the USB stack, see USB Driver Stack. Also for general information about the hub device class, see the USB technology Web site.
- Jan 22 Tue 2008 16:59
-
USB architecture
USB
一個USB系統有一個host controller、幾個hub和一個root hub組成。
其中root hub可以連接包含hub在內的127個USB設備,
而host controller 是一個usb設備與操作系統之間的介面。
一個USB系統有一個host controller、幾個hub和一個root hub組成。
其中root hub可以連接包含hub在內的127個USB設備,
而host controller 是一個usb設備與操作系統之間的介面。
1