; ****************************************************************************
; **
; **  Name:  sdserver.def
; **
; **  Description:
; **     Contains the module definition information of the SDSERVER.DLL
; **
; **  Status:  PRELIMINARY
; **
; **  $Log:   S:/tbird/mt2_186/sds/sdserver.dev  $
; ** 
; **    Rev 1.1   20 Dec 1996 18:09:12   Judy
; ** 
; **    Rev 1.0   16 Dec 1996 13:46:18   Judy
; ** Initial revision.
; ** 
; **    Rev 1.1   15 Nov 1996 16:49:58   Judy
; ** 
; **    Rev 1.0   27 Aug 1996 15:12:12   Judy
; ** Initial revision.
; ** 
; **    Rev 1.0   14 Jun 1996 13:51:22   Judy
; ** Initial revision.
; ** 
; **    Rev 1.36   28 Mar 1994 11:28:54   nghia
; ** Removed import call to STRLIB lmemcpy().
; ** 
; **    Rev 1.35   16 Mar 1994 09:40:22   tom
; ** Add upload packet size import; remove wsnet imports (actually seen as
; ** wscom).
; ** 
; **    Rev 1.34   21 Dec 1993 12:17:14   tom
; ** Network changes.
; ** 
; **    Rev 1.33   26 Jul 1993 13:13:54   paul
; ** Add TskCheckAbort for esc key
; ** 
; **    Rev 1.32   09 Jun 1993 08:48:40   ernie
; ** Added SdsCliPvtask export and PVTASK imports
; ** 
; **    Rev 1.31   25 May 1993 11:42:06   ernie
; ** added functions SdsVprof(), SdnData() and SdnWriteMemberIfChanged()
; ** 
; **    Rev 1.30   13 May 1993 11:12:46   ernie
; ** Added _sdlog command support
; ** 
; **    Rev 1.29   05 May 1993 09:23:44   doug
; ** support demo version (no hardware) run-time
; ** 
; **    Rev 1.28   22 Apr 1993 09:40:48   doug
; ** need flush function for auto-detection
; ** 
; **    Rev 1.27   30 Mar 1993 08:05:16   ernie
; ** Added inports from proc.dll for version command
; ** 
; **    Rev 1.26   22 Mar 1993 07:27:30   ernie
; ** Added new export SdsCliBerrRetry
; ** 
; **    Rev 1.25.1.0   23 Feb 1993 11:57:30   ernie
; ** Added WSCOM.WSComAckRequired
; ** 
; **    Rev 1.25   04 Dec 1992 11:33:20   ernie
; ** Added Sd(n)WritePartialMemberNoCallback function for PowerScope loader
; ** 
; **    Rev 1.24   03 Dec 1992 14:49:58   ernie
; ** Added Sd(n)WriteMemberNoCallback functions
; ** 
; **    Rev 1.23   03 Nov 1992 09:59:08   doug
; ** clean up cannot init probe error to conform to standard error text (ppr7226)
; ** 
; **    Rev 1.22   02 Nov 1992 13:03:50   ernie
; ** Added Sd(n)WriteCmdChkAbortReadResponse entry points
; ** 
; **    Rev 1.21   22 Oct 1992 15:08:22   ernie
; ** Added exports for new cli commands for communications error recovery.
; ** 
; **    Rev 1.20   03 Sep 1992 13:10:16   doug
; ** added two debug commands
; ** 
; **    Rev 1.19   02 Sep 1992 11:42:26   courtney
; ** Added entry point for getting the main window handle (button bar)
; ** from Actor (used for fatal error notification -> Actor).
; ** 
; **    Rev 1.18   30 Aug 1992 16:35:04   courtney
; ** Added import.
; ** 
; **    Rev 1.17   27 Aug 1992 06:14:52   mindy
; ** added read member without input check routine
; ** 
; **    Rev 1.16   30 Jul 1992 15:32:46   doug
; ** Shared data now has a CLI interface with one entry point
; ** 
; **    Rev 1.15   08 Jun 1992 09:43:42   ernie
; ** Added member index access routines to improve performance
; ** 
; **    Rev 1.14   15 May 1992 06:17:28   mindy
; ** misspelled errtext as errortext
; ** 
; **    Rev 1.13   14 May 1992 12:33:02   mindy
; ** added ErrInitDLL and removed get error text routine
; ** 
; **    Rev 1.12   13 May 1992 16:56:34   mindy
; ** made changes to support new error system
; ** 
; **    Rev 1.11   11 May 1992 07:54:52   mindy
; ** added SdTerminateServer
; ** 
; **    Rev 1.10   27 Mar 1992 15:11:04   courtney
; ** No change.
; ** 
; **    Rev 1.9   27 Mar 1992 15:10:20   courtney
; ** Restored for new ethernet changes.
; ** 
; **    Rev 1.4   18 Feb 1992 17:46:44   courtney
; ** Added callback routines to exports, removed stacksize.
; ** 
; **    Rev 1.3   10 Feb 1992 15:49:26   doug
; ** the dummy read/write code requires TFree
; ** 
; **    Rev 1.2   17 Jan 1992 10:58:12   ernie
; ** merged 1.1.1.0
; ** 
; **    Rev 1.1   14 Jan 1992 09:44:56   nghia
; ** Added SetOutputSize to WSCOM import section.
; ** 
; **    Rev 1.0   02 Aug 1991 08:27:24   jim
; ** Initial revision.
; **
; **  $Header:   S:/tbird/mt2_186/sds/sdserver.dev   1.1   20 Dec 1996 18:09:12   Judy  $
; **
; **
; **  Copyright (C) 1991 Microtek International.  All rights reserved.
; **
; **************************************************************************/

LIBRARY      SDSERVER

DESCRIPTION  'TBird Shared Data Server Dynamic Link Library'
EXETYPE      WINDOWS
STUB         'WINSTUB.EXE'
CODE         PRELOAD MOVEABLE DISCARDABLE
DATA         PRELOAD MOVEABLE SINGLE
HEAPSIZE     1024

EXPORTS      WEP                      @1
             SdInitialize             @2
             SdTerminateServer        @3
             SdRegister               @4
             SdRegisterSemaphore      @5
             SdUnRegister             @6
             SdUnRegisterSemaphore    @7
             SdReadMember             @8
             SdWriteMember            @9
             SdReadPartialMember      @10
             SdWritePartialMember     @11
             SdGetMemberSize          @12
             SdGetMemberAccess        @13
             SdGetMemberName          @14
             SdGetMemberIndex         @15
             SdGetMemberReturnCode    @16
             SdTestAndSetSemaphore    @17
             SdWriteCmdReadResponse   @18
             SdReadMemberNoInputCheck @19
             LibMain                  @20
             SdatInputAvailable       @21    ; callback on input
             SdnRegister              @22
             SdnReadMember            @23
             SdnWriteMember           @24
             SdnReadPartialMember     @25
             SdnWritePartialMember    @26
             SdnGetMemberSize         @27
             SdnGetMemberAccess       @28
             SdnGetMemberName         @29
             SdnGetMemberIndex        @30
             SdnGetMemberReturnCode   @31
             SdnWriteCmdReadResponse  @32
             InitCServer              @33
             SdsCliVersion            @34
             SdSetMainHWnd            @35
             SdsCliTimeout            @36
             SdsCliSdDump             @37
             SdsCliPrintCommErrors    @38
             SdsCliCommRetry          @39
             SdsCliCommTimeout        @40
             SdWriteCmdChkAbortReadResponse  @41
             SdnWriteCmdChkAbortReadResponse @42
             SdWriteMemberNoCallback  @43
             SdnWriteMemberNoCallback @44
             SdWritePartialMemberNoCallback  @45
             SdnWritePartialMemberNoCallback @46
             SdsCliLog                @48
             SdsCliVprof              @49
             SdsCliPvtask             @50
             SdnData                  @51
             SdnWriteMemberIfChanged  @52
        FwWriteVerifyErrorInfo
        Sds2AbiFwGr
        Sds2AbiFwReset
        Sds2AbiFwCpuReset
        Sds2AbiFwGetEmuState
        Sds2AbiFwGetBreakCause
        SdsCliSync
        GetID
        FindBreakpointAddr

IMPORTS
; sds2abi
        sds2abi.Sds2AbiLoadMicePackFw
        sds2abi.Sds2AbiInitCoreMembers
        sds2abi.Sds2AbiSetMap
        sds2abi.Sds2AbiFwPingProbe
        sds2abi.Sds2AbiFwUpdateProbeVersion
        sds2abi.Sds2AbiFwLoadRegisters
        sds2abi.Sds2AbiFwUnloadRegisters
        sds2abi.Sds2AbiFwPowerOn
        sds2abi.Sds2AbiFwFillMem
        sds2abi.Sds2AbiFillMemAction
        sds2abi.Sds2AbiReadMemAction
        sds2abi.Sds2AbiFwReadMem
        sds2abi.Sds2AbiFwSaveFCRegs
        sds2abi.Sds2AbiFwRestoreFCRegs
        sds2abi.Sds2AbiClearEvent
        sds2abi.Sds2AbiClearTrig
        sds2abi.iceMapError
        sds2abi.GetReg
        sds2abi.SetReg

; error text
             ERRTEXT.ErrInitDLL
             ERRTEXT.ErrDisplayError
             ERRTEXT.ErrDisplayErrorEx

; Communication Import functions
             WSCOM.WSComInit
             WSCOM.WSComConfig
             WSCOM.WSComRead
             WSCOM.WSComWrite
             WSCOM.WSComRecvTimer
             WSCOM.WSComClose
             WSCOM.WSComFlush
             WSCOM.WSComAckRequired
             WSCOM.WSComUploadPacketSize

; proc.dll
             PROC.ProcReturnCpu
             PROC.ProcReturnSystemType
             PROC.ProcReturnProcessorName
             PROC.ProcReturnDemonstrationVersion

; memory allocation routines
            MALLOC.TMalloc
            MALLOC.TFree

; event notification
            ENLIB.EnlEventNotify

; task server
            PVTASK.TaskRegister
            PVTASK.TaskUnregister
            PVTASK.TaskWalk
            PVTASK.TskCheckAbort

; application binary interface
        abi186.iceGo
        abi186.iceGetMemN
        abi186.iceAbort
        abi186.iceStepRange
        abi186.iceReset
        abi186.iceGetID
        abi186.iceGetCpuStatus
        abi186.iceSetBP
        abi186.iceClearEvent
        abi186.iceSetSync
        abi186.iceGetSync
        abi186.iceGetWait
        abi186.iceSetWait
        abi186.iceGetReady
        abi186.iceSetReady
        abi186.iceStepOne
; /******************************** E O F ***********************************/
