debuging.h

来自「wince host 和 target PCI驱动程序」· C头文件 代码 · 共 23 行

H
23
字号
#ifndef _DEBUGING_H
#define _DEBUGING_H

int CE_atoi(const char *pzArg);
long CE_atol(const char *pzArg);

#include <stdarg.h>

int CE_vsprintf(char *pzOutBuf, const char *pzFmt, va_list ap);
int CE_sprintf(char *pzOutBuf, const char *pzFmt, ...);
int CE_printf(const char *pzFmt, ...);

int dump_memory0( char *msg, int Type, char *Format,
                  void *addr, unsigned int no_data, int rowsiz );
#define dump_bytes1( msg, addr, no_bytes ) \
        dump_memory0( msg, 1, " %02x", addr, no_bytes, 24 )
#define dump_shorts2( msg, addr, no_shorts ) \
        dump_memory0( msg, 2, " %04x", addr, no_shorts, 12 )
#define dump_longs4( msg, addr, no_longs ) \
        dump_memory0( msg, 4, " %08x", addr, no_longs, 8 )
#endif /* !_DEBUGING_H */

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?