; ****************************************************************************
; **
; **  Name:  sdserver.def
; **
; **  Description:
; **     Contains the module definition information of the SDSERVER.DLL
; **
; **  Status:  PRELIMINARY
; **
; **  $Log:   S:/tbird/mt2_68k/sds/sdserver.dev  $
; ** 
; **    Rev 1.1   29 Apr 1997 14:24:52   gene
; ** 
; **    Rev 1.0   13 Feb 1997 09:03:58   gene
; ** Initial revision.
; ** 
; **    Rev 1.4   23 Sep 1996 10:36:04   kevin
; ** modified export section
; ** 
; **    Rev 1.3   19 Sep 1996 11:33:02   kevin
; ** exported sdssetcanbaseaddr
; ** 
; **    Rev 1.2   18 Sep 1996 15:50:18   kevin
; ** import abi68k.icesetcanbaseaddr
; ** 
; **    Rev 1.1   11 Dec 1995 11:43:38   kevin
; ** gene's changes: search/copy command
; ** 
; **    Rev 1.0   07 Sep 1995 11:12:12   gene
; ** 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_68k/sds/sdserver.dev   1.1   29 Apr 1997 14:24:52   gene  $
; **
; **
; **  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
             SdsCliBerrRetry          @47
             SdsCliLog                @48
             SdsCliVprof              @49
             SdsCliPvtask             @50
             SdnData                  @51
             SdnWriteMemberIfChanged  @52
             SdsCliSetCanBaseAddr     @53
             FwWriteVerifyErrorInfo   @54
             Sds2AbiFwGr              @55
             Sds2AbiFwReset           @56
             Sds2AbiStepPostamble     @57
             Sds2AbiFwCpuReset        @58
             Sds2AbiFwGetEmuState     @59
             Sds2AbiFwGetBreakCause   @60
             Sds2AbiGetCpuType        @61
             SdsCliSync               @62
             GetID                    @63

IMPORTS
; sds2abi
        sds2abi.Sds2AbiLoadMicePackFw
        sds2abi.Sds2AbiInitCoreMembers
        sds2abi.Sds2AbiSetMap
        sds2abi.Sds2AbiFwPingProbe
        sds2abi.Sds2AbiFwUpdateProbeVersion
        sds2abi.Sds2AbiFwLoadRegisters
        sds2abi.Sds2AbiFwUnloadRegisters
        sds2abi.Sds2AbiFwPowerOn
        sds2abi.Sds2AbiFwFillMem
        sds2abi.Sds2AbiFillMemAction
        sds2abi.Sds2AbiFwReadMem
        sds2abi.Sds2AbiFwSaveFCRegs
        sds2abi.Sds2AbiFwRestoreFCRegs
        sds2abi.Sds2AbiGetCoreType
        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.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
        abi68k.iceGetMapSize
        abi68k.iceInitialize
        abi68k.iceGo
        abi68k.iceGetMemN
        abi68k.iceSetAccessSpace
        abi68k.iceSetAccessSize
        abi68k.iceSetMemN
        abi68k.iceAbort
        abi68k.iceStepRange
        abi68k.iceGetReg
        abi68k.iceSetReg
        abi68k.iceReset
        abi68k.iceGetTraceBuffer
        abi68k.iceSetTraceBuffer
        abi68k.iceGetTriggerFrame
        abi68k.iceGetTraceInfo
        abi68k.iceSetTimerCounter
        abi68k.iceGetID
        abi68k.iceSetMap
        abi68k.iceIsTraceBufferFull
        abi68k.iceGetTraceFrame
        abi68k.iceGetTraceBufferInfo
        abi68k.iceFill
        abi68k.iceGetCpuStatus
        abi68k.iceEnableSwBkpt
        abi68k.iceDisableSwBkpt
        abi68k.iceSetBkptCode
        abi68k.iceSetBP
        abi68k.iceClearEvent
        abi68k.iceSetSync
        abi68k.iceGetSync
        abi68k.iceSearch
        abi68k.iceCopy
        abi68k.iceSetCanBaseAddr
; /******************************** E O F ***********************************/
