; ****************************************************************************
; **
; **  Name:  sds2abi.def
; **
; **  Description:
; **     Contains the module definition information of the SDS2ABI.DLL
; **
; **  Status:  PRELIMINARY
; **
; **  $Log:   S:/tbird/arcppc/sds/sds2abi.dev  $
; ** 
; **    Rev 1.2   19 Aug 1997 15:59:34   cjchen
; ** No change.
; ** 
; **    Rev 1.1   11 Feb 1997 13:55:02   kevin
; ** exported GetRegFromHost()
; ** 
; **    Rev 1.0   17 Jan 1997 09:23:52   kevin
; ** Initial revision.
; ** 
; **    Rev 1.2   17 Oct 1996 18:02:32   gene
; ** added Sds2AbiSetTraceEnable/Sds2AbiGetTraceEnable
; ** 
; **    Rev 1.1   08 Jul 1996 15:50:50   gene
; ** added Sds2AbiBreakOnFull
; ** 
; **    Rev 1.0   03 Jun 1996 11:37:38   gene
; ** Initial revision.
; ** 
; **    Rev 1.7   15 Jan 1996 11:43:54   kevin
; ** added Sds2abiSetQualTrace and Sds2AbiDisableQual and
; ** imported abi68k.iceSetQualTrace and abi68k.iceDisableQual
; ** 
; **    Rev 1.5   17 Nov 1995 13:28:04   kevin
; ** added SetVerify
; ** 
; **    Rev 1.4   22 Sep 1995 11:45:46   kevin
; ** 
; **    Rev 1.3   22 Sep 1995 11:42:58   kevin
; ** added export Sds2AbiMemCompare
; ** 
; **    Rev 1.2   14 Sep 1995 15:15:28   kevin
; ** exported sds2abimemchecksum
; ** 
; **    Rev 1.1   14 Sep 1995 14:41:38   kevin
; ** added iceChecksum
; ** 
; **    Rev 1.0   07 Sep 1995 11:12:12   gene
; ** Initial revision.
; ** 
; **  $Header:   S:/tbird/arcppc/sds/sds2abi.dev   1.2   19 Aug 1997 15:59:34   cjchen  $
; **
; **
; **  Copyright (C) 1991 Microtek International.  All rights reserved.
; **
; **************************************************************************/

LIBRARY      SDS2ABI

DESCRIPTION  'SDS To ABI Dynamic Link Library'
EXETYPE      WINDOWS
STUB         'WINSTUB.EXE'
CODE         PRELOAD MOVEABLE DISCARDABLE
DATA         PRELOAD MOVEABLE SINGLE
HEAPSIZE     1024

EXPORTS WEP                      
        LibMain                  
;        InitCServer
        Sds2AbiFwReadMem
        Sds2AbiFwFillMem
        Sds2AbiFillMemAction
        Sds2AbiInitCoreMembers
        Sds2AbiLoadMicePackFw
        Sds2AbiFwRestoreFCRegs
        Sds2AbiFwSaveFCRegs
        Sds2AbiFwPowerOn
        Sds2AbiFwUnloadRegisters
        Sds2AbiFwLoadRegisters
        Sds2AbiFwGetMapGranularity
        Sds2AbiFwGetMapSize
        Sds2AbiFwGetMapBlocks
        Sds2AbiFwPingProbe
        Sds2AbiConvertTraceMode
        Sds2AbiSetTimerCounter
        Sds2AbiGetTraceBufferInfo
        Sds2AbiGetTraceBufferLogicInfo
        Sds2AbiIsTraceBufferEmpty
        Sds2AbiIsTraceBufferFull
        Sds2AbiGetTriggerFrame
        Sds2AbiSetEvent
        Sds2AbiClearEvent
        Sds2AbiSetTrig
        Sds2AbiClearTrig
        Sds2AbiGetTraceInfo
        Sds2AbiSetNumTraceBuffers
        Sds2AbiGetTraceFrames
        Sds2AbiSetMap
        iceMapError
        GetReg
        GetRegFromHost
        SetReg        
        Sds2AbiSetBreakOnFull
        Sds2AbiSetControl
        Sds2AbiSetExtEvent
        Sds2AbiMemChecksum
        Sds2AbiMemCompare
        Sds2AbiSetVerify
        Sds2AbiSetIntReg
        Sds2AbiGetIntReg
        Sds2AbiSetQualTrace
        Sds2AbiDisableQual
        Sds2AbiTraceReset
        Sds2AbiGetBreakOnFull
        Sds2AbiSetTraceEnable
        Sds2AbiGetTraceEnable

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

; Communication Import functions - WSCOM.C or WSNET.C
             WSCOM.WSComInit
             WSCOM.WSComConfig
             WSCOM.WSComRead
             WSCOM.WSComWrite
             WSCOM.WSComRecvTimer
             WSCOM.WSComClose
             WSCOM.WSComFlush
; 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.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.iceSetTraceBreak
        abi68k.iceGetTriggerFrame
        abi68k.iceGetTraceInfo
        abi68k.iceSetTimerCounter
        abi68k.iceGetID
        abi68k.iceSetMap
        abi68k.iceGetMapSize
        abi68k.iceIsTraceBufferFull
        abi68k.iceGetTraceFrame
        abi68k.iceGetTraceBufferInfo
        abi68k.iceFill
        abi68k.iceGetCpuStatus
        abi68k.iceSetEvent
        abi68k.iceClearEvent
        abi68k.iceSetTrig
        abi68k.iceClearTrig
        abi68k.iceSetControl
        abi68k.iceGetVerifyErrorInfo
        abi68k.iceSetExtEvent
        abi68k.iceGetAllReg
        abi68k.iceChecksum
        abi68k.iceCompare
        abi68k.iceSetVerify
        abi68k.iceSetIntReg
        abi68k.iceGetIntReg
        abi68k.iceSetQualTrace
        abi68k.iceDisableQual
        abi68k.iceTraceReset

; sdserver
        sdserver.SdatSetBerrRetry
        sdserver.SdnWriteMember
        sdserver.SdnReadMember
        sdserver.SdnRegister
        sdserver.SdnWriteMemberNoCallback
        sdserver.FwWriteVerifyErrorInfo
        sdserver.SdGetMemberIndex
        sdserver.Sds2AbiGetCpuType
        sdserver.Sds2AbiFwCpuReset
        sdserver.Sds2AbiFwReset
        sdserver.Sds2AbiStepPostamble
        sdserver.Sds2AbiFwGr
        sdserver.Sds2AbiRunaccStart
        sdserver.Sds2AbiRunaccFinish
        sdserver.Sds2AbiFwGetBreakCause
        sdserver.Sds2AbiFwGetEmuState

; /******************************** E O F *********************************/
