00001 00028 #ifndef TRACE_H 00029 #define TRACE_H 00030 00031 #include <compiler.h> 00032 #include "printf-stdarg.h" 00033 00034 #define ASSERT(cond, str) do { \ 00035 if (!(cond)) { \ 00036 printk("%s\n", str); \ 00037 Assert(0); \ 00038 } \ 00039 } while(0) 00040 00041 00042 #endif