Fix a symbol conflict between hptrr and hptmv
This commit is contained in:
parent
54c1b47d28
commit
b204a4e7a1
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=176031
@ -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
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user