Multiplexer Driver Developer’s Guide

7 Additional Source Documentation

s

7 Additional Source Documentation

This chapter contains additional flow charts and state diagrams which give more detailed information on the structure and the content of the sources.

7.1Interaction of the Different Driver Objects

Object chart of the device driver winmux2k.sys

WDM - Model

ANSI-C

Driver object "winmux2k"

Device object

Device extension - struct DEVICE

DPOOL request pool

Control Irp for serial driver

IRP Complete object

Wait Irp for serial events

Port objects DLIST

IRP_QUEUE Read queue

IRP_QUEUE Write queue

SendBuffer

RcvBuffer

PORT_OBJ

(virtual serial port)

SerMux

WinMux object

Context

SerPort0 object

ChkFrame object

*SerMux

PtrSerPort[]

Buffer for read and write requests

DLIST Sendqueue

DLIST Rcv queue

CIRCBUF Objects for circular send

and receive buffer

SER_PORT

Parameter for the virtual serial port

Figure 3: Interaction of the different driver objects

Mux_Drv_DevGuide_v07

Page 27 of 36

2006-9-27

Confidential / Released

 

 

Page 27
Image 27
Siemens 7 manual Additional Source Documentation, Interaction of the Different Driver Objects