Fix a symbol conflict between hptrr and hptmv

This commit is contained in:
scottl 2008-02-06 05:33:17 +00:00
parent 4320a38bdb
commit 29a1384601
2 changed files with 3 additions and 3 deletions

View File

@ -298,5 +298,5 @@ void __os_dbgbreak(const char *file, int line)
while (1);
}
int hpt_dbg_level = 1;
int hptrr_dbg_level = 1;
#endif

View File

@ -188,8 +188,8 @@ HPT_U8 os_get_vbus_seq(void *osext);
int os_printk(char *fmt, ...);
#ifdef DBG
extern int hpt_dbg_level;
#define KdPrint(x) do { if (hpt_dbg_level) os_printk x; } while (0)
extern int hptrr_dbg_level;
#define KdPrint(x) do { if (hptrr_dbg_level) os_printk x; } while (0)
void __os_dbgbreak(const char *file, int line);
#define os_dbgbreak() __os_dbgbreak(__FILE__, __LINE__)
#define HPT_ASSERT(x) do { if (!(x)) os_dbgbreak(); } while (0)