boot3/OS/SCSIMgr4pt3/SCSIDebug.h

73 lines
1.4 KiB
C
Raw Normal View History

/*
File: SCSIDebug.h
Contains: header stuff for various debugging stuff
Written by: Paul Wolf
Copyright: <EFBFBD> 1992-1993 by Apple Computer, Inc., all rights reserved.
Change History (most recent first):
<SM4> 11/22/93 pdw Rolling in from <MCxx>.
<SM3> 10/14/93 pdw <MC> roll-in.
<MC2> 9/26/93 pdw Added forIttInit default.
<SM2> 6/29/93 pdw Adding a few and prettying it up a bit.
<1> 5/27/93 PW first checked in
*/
#ifndef __SCSIDebug__
#define __SCSIDebug__ 1
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> Include_Debugger_Names <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> routine names in .a / IfDebugXXX shows up in .c
#ifndef Include_Debugger_Names
#define Include_Debugger_Names 0
#endif
#if Include_Debugger_Names
#define IfDebugger() Debugger()
#define IfDebugStr( a ) DebugStr(a)
#else
#define IfDebugger()
#define IfDebugStr( a )
#endif
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> forceSyncAlways <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> force all IOs to be handled synchronously
#ifndef forceSyncAlways
#define forceSyncAlways 0
#endif
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> GPHYSICAL <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> I don't know what this is
#ifndef GPHYSICAL
#define GPHYSICAL 1
#endif
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> RECORD_ON <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> turns recording of SCSI events on
#ifndef RECORD_ON
#define RECORD_ON 1
#endif
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ERR_RECORD_ON <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> turns recording of SCSI events on
#ifndef ERR_RECORD_ON
#define ERR_RECORD_ON 1
#endif
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> forIttInit <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> building an Init
#ifndef forIttInit
#define forIttInit 0
#endif
#endif // __SCSIDebug__