2 #ifndef _SRC_LIB_16_DBG
\r
3 #define _SRC_LIB_16_DBG
\r
6 //#define __DEBUG_PM__
\r
7 //#define __DEBUG_MM__
\r
11 extern boolean dbg_debugpm=0;
\r
13 #ifdef __DEBUG_InputMgr__
\r
14 extern boolean dbg_testkeyin=0,dbg_testcontrolnoisy=0;
\r
19 # include <hw/8250/8250.h>
\r
21 void _DEBUGF(const char *fmt,...);
\r
22 void _DEBUG(const char *msg);
\r
25 static inline void _DEBUGF(const char *fmt,...) {
\r
28 static inline void _DEBUG(const char *msg) {
\r
32 static inline int _DEBUG_INIT() {
\r
37 #endif // _SRC_LIB_16_DBG
\r