/****************************************************************************
**
**  Name:  emuext.h
**
**  Description:
**     Primary type declarations for "Michelle" project.
**
**  Status:  PRELIMINARY
**
**  $Log:   S:/tbird/arcppc/fw/860/emuext.h_v  $
** 
**    Rev 1.2   04 Nov 1997 10:53:40   kevin
** warning-free version
** 
**    Rev 1.1   28 Jul 1997 10:14:10   cjchen
** 
**    Rev 1.0   18 Jul 1997 15:12:54   cjchen
** Initial revision.
** 
** Initial revision.
** 
**  Copyright (C) 1992 Microtek International.  All rights reserved.
**
*****************************************************************************/

#define _EMU_EXTERNAL_

//extern RESULT result;
extern U8  commandStream[MAX_STREAM_LEN],   /* Input Command Stream. */
           outputStream[MAX_STREAM_LEN];  /* Output Stream.        */
extern S16 outputStreamLen,commandStreamLen;
extern U16 signals;/* INT0 - INT3, DRQ0, DRQ1, HOLD, NMI, RESET, PEREQ ERROR */
extern U8  traceMode;
extern U16 noUse;
extern U8  noUseByte;
extern U16 inSize;
extern U16 extEvent;
extern U8  *diff;
/* llfw variable */
extern U16 stpTimFlg,r187Buf[],mapBuf[];
extern BOOLEAN gotTrigInfoOfTrcBuf[];
extern U8 cpuFlag;
extern U8 phyEv[];
extern U8 idData[MAX_ID];
extern BOOLEAN mtatExist;
extern U16 C_OFF,C_ON;
//extern char far TraceBuffer[TraceBufferSize];
extern U16 JTAGTemp[JTAGTempSize];
extern U8 JTAGTempB[JTAGTempSize*2];

//!!!! the following variables don't exist in FW, put dummy definitions in
//!!!! emutrace.c

//!! extern U8 exceptBreak;
//!! extern U32 Reset_Vector[2];
//!! extern U8 GoEP_dly;
//!! extern U32 Trace_PC[2];
//!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

extern U32 brokeReason;
extern U8 brokeResult;
/*----------------------------- EOF -----------------------------------*/
