; ****************************************************************************
; **
; **  Name:  sdserver.def
; **
; **  Description:
; **     Contains the module definition information of the SDSERVER.DLL
; **
; **  Status:  PRELIMINARY
; **
; **  $Log:   S:/tbird/arcppc/sds/sdserver.dev  $
; ** 
; **    Rev 1.3   19 Sep 1997 11:07:22   kevin
; ** exported Sds2AbiFwSetBkptNonmask and Sds2AbiFwSetISCT_SER
; ** 
; **    Rev 1.2   29 Aug 1997 11:17:14   cjchen
; ** 
; **    Rev 1.1   19 Aug 1997 15:59:58   cjchen
; ** 
; **    Rev 1.0   17 Jan 1997 09:23:54   kevin
; ** Initial revision.
; ** 
; **    Rev 1.2   17 Oct 1996 18:00:46   gene
; ** added SdsReadResetResult
; ** 
; **    Rev 1.1   02 Oct 1996 17:24:08   gene
; ** added SdsSetSrcStepFlag
; ** 
; **    Rev 1.0   03 Jun 1996 11:37:42   gene
; ** Initial revision.
; ** 
; **    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/arcppc/sds/sdserver.dev   1.3   19 Sep 1997 11:07:22   kevin  $
; **
; **
; **  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
        FwWriteVerifyErrorInfo
        Sds2AbiFwGr
        Sds2AbiFwReset
        Sds2AbiStepPostamble
        Sds2AbiFwCpuReset
        Sds2AbiFwGetEmuState
        Sds2AbiFwGetBreakCause
        Sds2AbiGetCpuType
        SdsCliSync
        SdsBkptFindHWBkpt
        SdsSetSrcStepFlag
        SdsReadResetResult
        Sds2AbiFwLoadWatchpoints
        Sds2AbiFwGetUpm
        Sds2AbiFwSetUpm
        Sds2AbiFwSetBkptNonmask
        Sds2AbiFwSetISCT_SER

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.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.iceSetWP
        abi68k.iceClearEvent
        abi68k.iceSetSync
        abi68k.iceGetSync
        abi68k.iceSearch
        abi68k.iceCopy
        abi68k.iceSetUpm
        abi68k.iceGetUpm
        abi68k.iceSetISCT_SER
        abi68k.iceSetBkptNonmask
;WHPTEXEC
        whptexec.WhptGetWatchpoints
; /******************************** E O F ***********************************/
