beautypg.com

7 additional source documentation, 1 interaction of the different driver objects, Additional source documentation – Siemens 7 User Manual

Page 27: Interaction of the different driver objects, Figure 3, 7additional source documentation, Multiplexer driver developer’s guide

background image

Multiplexer Driver Developer’s Guide

7 Additional Source Documentation

s

Mux_Drv_DevGuide_v07

Page 27 of 36

2006-9-27

Confidential / Released

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.1

Interaction of the Different Driver Objects

Figure 3: Interaction of the different driver objects

Object chart of the device driver winmux2k.sys

PORT_OBJ

(virtual serial port)

Device extension

- struct DEVICE

Device object

IRP_QUEUE Read queue

Port objects DLIST

Wait Irp for serial events

Control Irp for serial driver

IRP_QUEUE Write queue

SendBuffer

RcvBuffer

WinMux object

IRP Complete object

Driver object "winmux2k"

SER_PORT

CIRCBUF Objects for circular send

and receive buffer

Buffer for read and write requests

DLIST Sendqueue

DLIST Rcv queue

Parameter for the virtual serial port

Context

SerMux

PtrSerPort[]

*SerMux

SerPort0 object

ChkFrame object

WDM - Model

ANSI-C

DPOOL request pool