⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 trace.h

📁 专业汽车级嵌入式操作系统OSEK的源代码
💻 H
字号:
#ifndef _TRACE_H#define _TRACE_H#include "types.h"#ifdef VERIFY#define INTERPRETER0   10#define INTERPRETER1   11#define INTERPRETER2   12#define INTERPRETER3   13#define INTERPRETER4   14#define INTERPRETER5   15#define INTERPRETER6   16#define THREADS0       20#define THREADS1       21#define THREADS2       22#define THREADS3       23#define THREADS4       24#define THREADS5       25#define THREADS6       26#define THREADS7       27#define THREADS8       28#define THREADS9       29#define MEMORY0        30#define MEMORY1        31#define MEMORY2        32#define MEMORY3        33#define MEMORY4        34#define MEMORY5        35#define MEMORY6        36#define MEMORY7        37#define MEMORY8        38#define MEMORY9        39#define EXCEPTIONS0    40#define EXCEPTIONS1    41#define LANGUAGE0    50#define LANGUAGE1    51#define LANGUAGE2    52#define LANGUAGE3    53#define BAD_MAGIC	 54#define ASSERT_TOP	100#define assert( cond, code)  assert_hook( cond, code);extern void assert_hook (boolean aCond, int aCode);#else#define assert(x,y)  ;#endif /* VERIFY */#if 0#define DEBUG_STARTUP     1#define DEBUG_MEMORY      1#define DEBUG_THREADS     1#define DEBUG_METHODS     1#define DEBUG_BYTECODE    1#define DEBUG_FIELDS      1#define DEBUG_OBJECTS     1#define DEBUG_EXCEPTIONS  1#define DEBUG_MONITOR     1#endif#ifndef DEBUG_EXCEPTIONS# define DEBUG_EXCEPTIONS 0#endif#ifndef DEBUG_MONITOR# define DEBUG_MONITOR 0#endif#ifndef DEBUG_METHODS# define DEBUG_METHODS 0#endif#ifndef DEBUG_BYTECODE# define DEBUG_BYTECODE 0#endif#ifndef DEBUG_THREADS# define DEBUG_THREADS  0#endif#ifndef DEBUG_MEMORY# define DEBUG_MEMORY  0#endif#if DEBUG_RCXextern void debug (short s, short n1, short n2);#endif#endif // _TRACE_H

⌨️ 快捷键说明

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