; **  Name:  trace.def
; **
; **  Description:
; **     Contains the information about the module definition of the
; **     TRACE.DLL
; **
; **  Status:  PRELIMINARY
; **
; **  $Log:   S:/tbird/mt2_186/trace/trace.dev  $
; ** 
; **    Rev 1.3   21 Jul 1997 14:59:20   Judy
; ** 
; **    Rev 1.2   27 May 1997 15:29:58   Judy
; ** 
; **    Rev 1.0   16 Dec 1996 15:25:48   Judy
; ** Initial revision.
; ** 
; **    Rev 1.2   15 Nov 1996 16:48:50   Judy
; ** 
; **    Rev 1.1   11 Oct 1996 18:40:38   Judy
; ** 
; **    Rev 1.0   27 Aug 1996 15:23:12   Judy
; ** Initial revision.
; ** 
; **    Rev 1.0   27 Aug 1996 14:57:06   Judy
; ** Initial revision.
; ** 
; **    Rev 1.0   14 Jun 1996 17:05:10   Judy
; ** Initial revision.
; ** 
; **    Rev 1.42   14 Jul 1994 07:42:28   mindy
; ** added set/get btm enable
; ** 
; **    Rev 1.41   10 May 1994 10:25:22   ernie
; ** Added external functions to set/get DebugEmon state.
; ** 
; **    Rev 1.40   28 Feb 1994 16:59:52   marilyn
; ** Moved maxOutput routines to the address server. Updated interfaces.
; ** 
; **    Rev 1.39   08 Nov 1993 20:55:16   mindy
; ** add max trace buffer support
; ** 
; **    Rev 1.38   26 Jul 1993 12:27:44   paul
; ** Add TskCheckAbort for esc key support
; ** 
; **    Rev 1.37   22 Jul 1993 10:39:24   ernie
; ** Added support for timestamp.
; ** 
; **    Rev 1.36   28 Jun 1993 09:28:30   ron
; ** added import for ErrMessageBox
; ** 
; **    Rev 1.35   07 Apr 1993 17:11:06   mindy
; ** routine names changed/ calling different routines
; ** 
; **    Rev 1.34   16 Dec 1992 16:10:52   john
; ** added entry to get processor
; ** 
; **    Rev 1.33   16 Dec 1992 15:34:20   mindy
; ** moved trace to fw
; ** 
; **    Rev 1.32   16 Sep 1992 19:24:12   mindy
; ** use sdn calls instead of sd
; ** 
; **    Rev 1.31   16 Sep 1992 10:09:00   mindy
; ** a) added callback routines for when tracing goes on and off.
; ** b) since evttmplt stuff no longer user need DisplayAddrSpace
; ** 
; **    Rev 1.30   27 Aug 1992 15:32:48   mindy
; ** need to destroy event id
; ** 
; **    Rev 1.29   27 Aug 1992 06:49:30   mindy
; ** added import readmember without input check
; ** 
; **    Rev 1.28   22 Aug 1992 11:15:36   mindy
; ** added trace clear callback
; ** 
; **    Rev 1.27   21 Aug 1992 07:23:38   mindy
; ** added callback routines to export list
; ** 
; **    Rev 1.26   19 Aug 1992 08:02:22   mindy
; ** a) removed force status routines
; ** b) added needed imports
; ** 
; **    Rev 1.25   11 Aug 1992 10:02:02   mindy
; ** added ReadNumber import for reading trace configuration
; ** 
; **    Rev 1.24   17 Jul 1992 14:11:32   mindy
; ** added VISIBLE_TYPE routine
; ** 
; **    Rev 1.23   25 Jun 1992 12:42:46   mindy
; ** removed swat dependencies
; ** 
; **    Rev 1.22   22 Jun 1992 07:59:26   mindy
; ** added get sub buffer size routine
; ** 
; **    Rev 1.21   15 Jun 1992 10:05:36   mindy
; ** setting tracing now calls TrigTriggerProgram
; ** 
; **    Rev 1.20   15 May 1992 06:12:34   mindy
; ** misspelled errtext as errortext
; ** 
; **    Rev 1.19   14 May 1992 11:36:38   mindy
; ** added ErrInitDLL
; ** 
; **    Rev 1.18   01 May 1992 11:30:58   mindy
; ** added needed event routines needed to support trace search for EMON active
; ** frame.
; ** 
; **    Rev 1.17   28 Apr 1992 08:16:14   mindy
; ** added TrcGetCliId
; ** 
; **    Rev 1.16   23 Apr 1992 11:22:42   mindy
; ** now need TMalloc/TFree and a local parse routine
; ** 
; **    Rev 1.15   03 Apr 1992 12:12:54   mindy
; ** added new exports and imports.
; ** 
; **    Rev 1.14   18 Feb 1992 14:16:22   mindy
; ** changed traceread routines also added to import list
; ** 
; **    Rev 1.13   27 Jan 1992 11:32:20   mindy
; ** removed dummy dq server routines
; ** 
; **    Rev 1.12   22 Jan 1992 13:28:14   doug
; ** Added LibMain to exports, took stacksize statement out.
; ** 
; **    Rev 1.11   07 Jan 1992 10:10:00   mindy
; ** added a temp. go and halt for debugging.
; ** 
; **    Rev 1.10   11 Dec 1991 14:45:44   mindy
; ** added local.h routines to export list
; ** 
; **    Rev 1.9   11 Dec 1991 12:50:00   mindy
; ** only trace server in trace.dll now
; ** 
; **    Rev 1.8   06 Dec 1991 10:35:50   mindy
; ** added swat stuff
; ** 
; **    Rev 1.7   02 Dec 1991 11:04:32   mindy
; ** added tracing set routine.  Also Export swat routines now.
; ** 
; **    Rev 1.6   20 Nov 1991 11:15:18   mindy
; ** added trace search cli routines and re-numbered.
; ** 
; **    Rev 1.5   15 Nov 1991 15:00:52   mindy
; ** added the cli commands
; ** 
; **    Rev 1.4   07 Nov 1991 14:28:48   mindy
; ** added get header and set frame display mode routines
; ** 
; **    Rev 1.3   01 Nov 1991 09:17:54   mindy
; ** added all the new routines
; ** 
; **    Rev 1.2   06 Sep 1991 09:20:20   ernie
; ** added set event function and more import functions
; ** 
; **    Rev 1.1   28 Aug 1991 07:17:16   ernie
; ** Added external functions for trigger server
; ** 
; **    Rev 1.0   01 Aug 1991 16:33:52   jim
; ** Initial revision.
; **   
; **  $Header:   S:/tbird/mt2_186/trace/trace.dev   1.3   21 Jul 1997 14:59:20   Judy  $
; **
; **
; **  Copyright (C) 1991 Microtek International.  All rights reserved.
; **
; **************************************************************************/

LIBRARY      TRACE

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

EXPORTS      WEP                          @1
             TrcTraceOpen                 @2
             TrcTraceClose                @3
             TrcTraceReadRaw              @4
             TrcForwardRead               @5
             TrcBackwardRead              @6
             TrcTraceTemplateGet          @7 
             TrcTraceTemplateSet          @8
             TrcTraceBufferInfoGet        @9 
             TrcFrameNumberAreaSizeGet    @10
             TrcSubBufferSizeGet          @11
             TrcReadFrameGet              @12
             TrcReadFrameSet              @13
             TrcReadBufferGet             @14
             TrcReadBufferSet             @15
             TrcTracingGet                @16
             TrcTracingSet                @17
             TrcMaxValidTraceBuffers      @18
             TrcTraceCycleGet             @19
             TrcTraceCycleSet             @20
             TrcTraceBufferClear          @21
             TrcFrameDisplayModeSet       @22
             TrcFrameDisplayModeGet       @23
             TrcGetHeader                 @24
             TrcNumFramesGet              @25
             TrcSearchBufferGet           @26
             TrcSearchBufferSet           @27
             TrcSearchEventGet            @28
             TrcSearchEventSet            @29
             TrcSearchFrameGet            @30
             TrcSearchFrameSet            @31
             TrcTraceSearch               @32
             TrcUpdateTrace               @33
             TrcCollectingBufferGet       @34
             TrcGetFrameInstAddress       @35
             TrcCliForwardRead            @36
             TrcCliBackwardRead           @37
             TrcCliReadRaw                @38  
             TrcCliBufferInfo             @39
             TrcCliFrameMode              @40
             TrcCliTraceCycle             @41
             TrcCliReadBuffer             @42
             TrcCliSearchBuffer           @43 
             TrcCliGetCollectingBuffer    @44
             TrcCliNumFrames              @45
             TrcCliReadFrame              @46
             TrcCliSearchFrame            @47
             TrcCliSearchEvent            @48
             TrcCliTraceSearch            @49
             TrcCliDebugEmon              @50
             TrcCliTracing                @51
             TrcCliTraceTemplate          @52
             TrcCliGetHeader              @53
             TrcCliOpen                   @54
             TrcCliClose                  @55
             TrcCliClearTrace             @56
             TrcCliGetFrameInstAddress    @57
             TrcCliUpdateTrace            @58
             TrcCliFrameNumberAreaSizeGet @59
             TrcGetCliId                  @60
             SubBufferUpdate              @61
             TracingStateChange           @62
             TraceClearCallback           @63
             TrcTimestampGet              @64
             TrcTimestampSet              @65
             TrcTimestampModeGet          @66
             TrcTimestampModeSet          @67
             TrcTimestampZeroFrameGet     @68
             TrcTimestampZeroFrameSet     @69
             TrcSystemCrystalGet          @70
             TrcSystemCrystalSet          @71
             TrcGetTimestampText          @72
             TrcCliGetfrequency           @73
             TrcCliGetZeroFrame           @74
             TrcCliTimestampMode          @75
             TrcCliGetTimestamp           @76
             InitCServer                  @77 
             LibMain                      @78 
             TrcDebugEmonGet              @79
             TrcDebugEmonSet              @80
             TrcBtmSet                    @81
             TrcBtmGet                    @82
             TrcOptionFlagSet             @83
             TrcOptionFlagGet             @84
             TrcNewestTimestampGet        @85
             CliFlashRom                  @86

IMPORTS     addr.AdrGetAddrOffset
            addr.AdrCreateAddress
            addr.AdrCreateAddressWithType
            addr.AdrDestroyAddress
            addr.AdrSetAddrSpace
            addr.AdrSetAddrOffset
            dasm.DadFrameIsCodeRead
            dasm.DadGetFrameAddress
            enlib.EnlEventNotify
            enlib.EnlRegister
            errtext.ErrDisplayError
            errtext.ErrInitDLL
            errtext.ErrMessageBox
            event.EvtOpenEvent
            event.EvtCloseEvent
            event.EvtDeleteEvent
            event.EvtGetEventGroupInfo
            event.EvtSetActiveEvent
            event.EvtSetActiveField
            event.EvtSetStartAndMask
            event.EvtDoesEventExist
            event.ParseBoolean
            event.ReadNumber
            evttmplt.SendCliResults
            evttmplt.DisplayAddrSpace
            evttmplt.TmpltOpenTemplate
            evttmplt.TmpltTemplateClose
            evttmplt.TmpltSetTemplateName
            evttmplt.TmpltGetTemplateName
            evttmplt.TmpltGetNumOfEntries
            evttmplt.TmpltGetNameGivenFieldNumber
            evttmplt.TmpltGetVisible
            evttmplt.TmpltGetDisplayLength
            evttmplt.TmpltGetTrailingBlanks
            evttmplt.TmpltGetTitle
            evttmplt.TmpltGetFormattedTrace
            malloc.TMalloc
            malloc.TFree
            mem.MemReadSized
            sdserver.SdRegisterSemaphore
            sdserver.SdGetMemberIndex
            sdserver.SdGetMemberSize
            sdserver.SdRegister
            sdserver.SdUnRegister
            sdserver.SdUnRegisterSemaphore
            sdserver.SdReadMember
            sdserver.SdWriteMember
            sdserver.SdWriteCmdReadResponse
            sdserver.SdReadMemberNoInputCheck
            sdserver.SdReadPartialMember
            sdserver.SdnReadMember
            sdserver.SdnReadPartialMember
            sdserver.SdnRegister
            sdserver.SdnWriteMember
            sdserver.SdnWriteCmdReadResponse
            strlib.lmemcpy
            trig.TrigTriggerProgram
            trig.TrigTriggerClose
            trig.TrigTriggerOpen
            trig.TrcCounterFunctionGet
            trig.TrigSeqLevelSet
            trig.TrigEventSet
            trig.TrigEventEnableGet
            trig.TrcActionGet
            proc.ProcReturnSpecificProcessor
            bkroot.BkGetEmulationStatus;

; EscKey processing routines
             PVTASK.TskCheckAbort


; sds2abi
            sds2abi.Sds2AbiGetTraceFrames
            sds2abi.Sds2AbiGetTraceBufferInfo
            sds2abi.Sds2AbiGetTraceInfo
            sds2abi.Sds2AbiSetTraceAction
            sds2abi.Sds2AbiReadFrameStamp
            sds2abi.Sds2AbiReadLastStamp
            sds2abi.Sds2AbiSetTracing
            sds2abi.Sds2AbiReadFRom
            sds2abi.Sds2AbiWriteFRom
; abi186
            abi186.IceGetQualifyFrame
            abi186.IceGetCpuStatus
; /******************************** E O F ***********************************/
