mirror of https://github.com/lianthony/NT4.0
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
55 lines
946 B
55 lines
946 B
/*++
|
|
*******************************************************************************
|
|
* Copyright (c) 1995 IBM Corporation
|
|
*
|
|
* Module Name:
|
|
*
|
|
* Abstract:
|
|
*
|
|
* Author:
|
|
*
|
|
* Environment:
|
|
*
|
|
* Comments:
|
|
*
|
|
* Rev History:
|
|
*
|
|
*******************************************************************************
|
|
--*/
|
|
|
|
#ifndef CS423XDEBUG_H
|
|
#define CS423XDEBUG_H
|
|
|
|
#ifdef CS423X_DEBUG_ON
|
|
|
|
extern UCHAR _debug_map;
|
|
|
|
#define _BRK_ERRO 0x10
|
|
#define _BRK_WARN 0x20
|
|
#define _BRK_STAT 0x40
|
|
#define _BRK_DBUG 0x80
|
|
#define _PRT_ERRO 0x01
|
|
#define _PRT_WARN 0x02
|
|
#define _PRT_STAT 0x04
|
|
#define _PRT_DBUG 0x08
|
|
|
|
ULONG DbgPrint(PCHAR Format, ...);
|
|
void cs423xDbgprint(UCHAR us, char* szFormat, ...);
|
|
#define _dbgbreak(_x_) {if (_debug_map & _x_) DbgBreakPoint();}
|
|
#define _dbgprint(_x_) cs423xDbgprint _x_
|
|
|
|
#else /* !CS423X_DEBUG_ON */
|
|
|
|
#define _dbgbreak(_x_)
|
|
#define _dbgprint(_x_)
|
|
|
|
#endif /* ! CS423X_DEBUG_ON */
|
|
#endif /* CS423XDEBUG_H */
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|