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

Page 27

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

 

 

Image 27
Contents User’s Guide Copyright General NotesContents Multiplexer Driver Developer’s Guide List of Tables TablesList of Figures FiguresChapter What is new Document HistoryDocument History Multiplexer Driver Developer’s Guide Introduction IntroductionSupported Product Versions Supported Product VersionsAbbreviation Description Related DocumentsAbbreviations Related DocumentsArchitecture Hierarchy Chart in the SystemArchitecture UserHandling of the Physical Serial Port Signal DescriptionHandling of the Physical Serial Port Module DetectionHandling of Control Lines on Virtual Ports Limitation of Virtual PortsHandling of Control Lines on Virtual Ports Command Response Function Associated Registry Value Module Initializing SequenceModule Initializing Sequence Module Re-initialization Power DownPower Down on PC Suspend Power Down after Closing the Last PortPower Down Power Down on PC ShutdownInstallation InstallationFiles Required for WinMux2k Driver Installation Installing the WinMux2k DriverWindows XP new desktop, not the classic desktop Deinstalling the DriverDeinstalling the Driver WindowsDevice Settings and Properties Settings on the Serial Multiplexer PropertiesDevice Settings and Properties Settings Stored in the Windows Registry Settings Stored in the Windows RegistryValue Data Example Properties TC45, XC18 only Multiplexer Driver Developer’s Guide Values Data Example Properties Settings for Applications Settings for ApplicationsDial-up Network Settings Fax SettingsCompiler Flags Translate Source CodeSoftware Requirements Preparing the TranslationAdditional Source Documentation Interaction of the Different Driver ObjectsAdditional Source Documentation Internal Driver States Internal Driver StatesBuffer Handling Buffer HandlingTo th e S e rM u x O b je c t a re in d ic a te d Data TransferMultiplexer Driver Developer’s Guide SerMuxSend and SerMuxSendPort0 Functions SerMuxSend FunctionStart +++-Parser +++-ParserStandby of the Operating System Known ProblemsBooting Operating System Shutdown of the Operating SystemSpecial Environments Special EnvironmentsOperation on Virtual USB Port Automatic Shutdown in case of Emergency