;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; 
;  Name:  CPU.DEF
; 
;  Description:
;      Module definition file for the CPU Server.
; 
;  Status:  PRELIMINARY
; 
;  $Log:   S:/tbird/mt2_68k/cpu/cpu.dev  $
; ** 
; **    Rev 1.1   08 Aug 1997 11:57:28   gene
; ** 
; **    Rev 1.0   13 Feb 1997 08:44:44   gene
; ** Initial revision.
; ** 
; **    Rev 1.4   02 Jul 1996 15:30:48   kevin
; ** exported CpuGetCoreType
; ** 
; **    Rev 1.3   19 Jun 1996 16:05:44   kevin
; ** added sds2abigetcoretype
; ** 
; **    Rev 1.2   01 Dec 1995 10:46:00   kevin
; ** added cpuGetSpaceMode()
; ** 
; **    Rev 1.1   06 Oct 1995 18:16:48   kevin
; ** import addr.AdrSetAddrSpace
; ** 
; **    Rev 1.0   07 Sep 1995 10:10:36   gene
; ** Initial revision.
; ** 
; **    Rev 1.21   06 Apr 1994 16:42:38   nghia
; ** Added AdrSetCurrentAddrSpace() to import list.
; ** 
; **    Rev 1.20   03 Mar 1994 15:48:26   john
; ** Added GetSignalName, and GetNumberOfSignals
; ** 
; **    Rev 1.19   14 Jun 1993 12:22:18   MINDY
; ** Added two new routines: CpuSetFramePtrRegister and
; ** CpuRegisterMultipleRegisters
; ** 
; **    Rev 1.18   08 Apr 1993 14:39:28   doug
; ** signal command gives error if PowerScope in use
; ** 
; **    Rev 1.17   31 Mar 1993 13:39:30   ernie
; ** Added ProcInsertCpu() and ErrDisplayString() imports
; ** 
; **    Rev 1.16   30 Mar 1993 08:31:46   ernie
; ** Added CpuGetNumRegs and CpuGetRegisterInfo entry points
; ** 
; **    Rev 1.15   09 Oct 1992 14:56:14   doug
; ** add reset of cpu only
; ** 
; **    Rev 1.14   10 Sep 1992 11:46:14   doug
; ** support cpu.c
; ** 
; **    Rev 1.13   02 Sep 1992 11:39:56   doug
; ** added routine needed for symbolic entry in CLI
; ** 
; **    Rev 1.12   02 Sep 1992 10:44:14   doug
; ** emulation is now checked when setting registers
; ** 
; **    Rev 1.11   02 Sep 1992 10:18:56   doug
; ** the callback function is not used anymore
; ** 
; **    Rev 1.10   29 Aug 1992 07:23:42   doug
; ** emulation is not being checked anymore (see cpu.c)
; ** 
; **    Rev 1.9   31 Jul 1992 12:30:24   doug
; ** call init server from LibMain now so inited at load time
; ** 
; **    Rev 1.8   21 Jul 1992 12:36:42   doug
; ** using new routine to register cpu registers and signals
; ** 
; **    Rev 1.7   25 Jun 1992 09:09:22   courtney
; ** Updated import.
; ** 
; **    Rev 1.6   22 Jun 1992 11:21:12   courtney
; ** Revised to import from new BKROOT.dll.
; ** 
; **    Rev 1.5   14 May 1992 14:47:08   nghia
; ** Revised for new ErrorText interface.
; ** 
; **    Rev 1.4   13 May 1992 09:05:52   nghia
; ** Added CpuGetErrorText() to EXPORT, and added ErrGetErrorText() and
; ** CliGetActive() to IMPORT.
; ** 
; **    Rev 1.3   11 May 1992 12:55:56   nghia
; ** Renamed ProcessorMustBeHalted to BxProcessorMustBeHalted.
; ** 
; **    Rev 1.2   23 Apr 1992 12:14:40   nghia
; ** Changed BxGetEmulationStatus() to ProcessorMustBeHalted().
; ** 
; **    Rev 1.1   17 Apr 1992 16:20:12   nghia
; ** Added IMPORT from BKPTEXEC library & EXPORTS CpuCliFindRegName().
; ** 
; **    Rev 1.0   28 Feb 1992 11:57:36   nghia
; ** Initial revision.
;  
;  $Header:   S:/tbird/mt2_68k/cpu/cpu.dev   1.1   08 Aug 1997 11:57:28   gene  $
; 
;  Copyright (C) 1991-2 Microtek International.  All rights reserved.
; 
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
LIBRARY      CPU

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

EXPORTS
    WEP                          @1
    InitCServer                  @2
    TerminateServer              @3
    CpuGetRegister               @4
    CpuSetRegister               @5
    CpuGetFpRegister             @6
    CpuSetFpRegister             @7
    CpuGetPC                     @8
    CpuSetPC                     @9 
    CpuGetSP                     @10
    CpuSetSP                     @11
    CpuGetFramePtr               @12
    CpuResetCPU                  @13
    CpuGetSignal                 @14
    CpuSetSignal                 @15
    CpuFindRegisterName          @16
    CpuFindRegisterId            @17
    CpuGetRegisterWidth          @18
    CpuCliRegister               @19
    CpuCliSignal                 @20
    CpuCliResetCPU               @21
    CpuCliFindRegName            @22
    LibMain                      @23
    CpuResetCPUOnly              @24
    CpuSetFramePtrRegister       @25
    CpuRegisterMultipleRegisters @26
    CpuGetNumRegs                @27
    CpuGetRegisterInfo           @28
    CpuGetNumberOfSignals        @29
    CpuGetSignalName             @30
    CpuGetSpaceMode              @31
    CpuGetCoreType               @32
    CpuSetLdrFlag                @33

IMPORTS
    SDSERVER.SdUnRegister
    SDSERVER.SdWriteMember
    SDSERVER.SdnWriteMember
    SDSERVER.SdRegister
    SDSERVER.SdnRegister
    SDSERVER.SdGetMemberIndex
    SDSERVER.SdReadMember
    SDSERVER.SdnReadMember
    SDSERVER.SdWriteCmdReadResponse
    ENLIB.EnlEventNotify
    ENLIB.EnlRegister
    ENLIB.EnlUnRegister
    MALLOC.TMalloc
    MALLOC.TFree
    ADDR.AdrCreateAddress
    ADDR.AdrDestroyAddress
    ADDR.AdrSetAddrOffset
    ADDR.AdrGetAddrOffset
    ADDR.AdrConvTextToAddress
    ADDR.AdrSetCurrentAddrSpace
    ADDR.AdrSetAddrSpace
    ERRTEXT.ErrDisplayError
    ERRTEXT.ErrDisplayString
    ERRTEXT.ErrInitDLL
    CLIULIB.CliGetActive
    BKROOT.BkProcessorMustBeHaltedAbsolute
    PROC.ProcReturnCpu
    PROC.ProcInsertCpu
    PROC.ProcReturnSystemType
    PROC.ProcInsertSpecificCpu
    PROC.ProcReturnSpecificProcessor
    SDS2ABI.Sds2AbiSetControl
    SDS2ABI.Sds2AbiGetCoreType
    ABI68k.iceSetReady
