类驱动、迷你端口驱动,端口驱动,总线驱动
Miniport Driver Traditionally, a miniport driver is a hardware-specific driver for an adapter that resides on a system bus (e. g, PCI or ISA). A miniport has a single entry point, namely DriverEntry, and registers a table of functions with a port driver. This table of functions serves as the upper-edge interface of the miniport. A miniport is completely surrounded by a port driver in the sense that all calls to the miniport are made from the port driver and all calls out of the minidriver are to the port driver lower-edge interface. Because of this, miniports a platform independent.
Port Driver A port driver surrounds a miniport, handling all system interface issues. It handles requests from the system which is recasts as calls into the miniport’s function table. It provides a library of support functions (the port’s lower-edge interface) to the miniport.
Minidriver A minidriver represents a piece of hardware on a bus. It binds together the bus driver and one or more class drivers. It uses the bus driver to communicate to the physical device over the bus, and the class drivers help the minidriver present the physical device to clients as a type of logical device. In the NT and WDM environments, a minidriver typically receives requests in IRP form from class drivers and sends requests in IRP form to a bus driver. An example of a minidriver that might bind to multiple class drivers is a minidriver for a CD-ROM drive on a 1394 bus. The minidriver might bind to a file system class driver so the drive can be accessed as a file system and a Redbook audio class driver so that audio can be streamed from CDs.
Bus Driver A bus driver provides minidrivers with access to a physical bus. The NT HAL is sometimes referred to as the ‘system bus driver’, meaning that it provides minidrivers with access to the system bus.
Class Driver A class driver implements behavior expected of a class of devices. This eliminates the need for the duplication of functionality in hardware-specific drivers. Class drivers are not bus-