Changeset 337 for trunk/kernel/kern/printk.h
- Timestamp:
- Aug 7, 2017, 12:50:17 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/kern/printk.h
r296 r337 89 89 * @ condition : condition that must be true. 90 90 * @ function_name : name of the calling function. 91 * @ string : error message if condition is false.91 * @ format : formated string 92 92 *********************************************************************************/ 93 inlinevoid assert( bool_t condition,94 95 char * string);93 void assert( bool_t condition, 94 const char * function_name, 95 char * format , ... ); 96 96 97 97 /////////////////////////////////////////////////////////////////////////////////// … … 255 255 #endif 256 256 257 #if CONFIG_RPCG_DEBUG 258 #define rpcg_dmsg(...) printk(__VA_ARGS__) 259 #else 260 #define rpcg_dmsg(...) 261 #endif 262 257 263 #if CONFIG_SCHED_DEBUG 258 264 #define sched_dmsg(...) printk(__VA_ARGS__) … … 286 292 287 293 #if CONFIG_VFS_DEBUG 288 #define vfs_dmsg(...) printk(__VA_ARGS__)294 #define vfs_dmsg(...) if(hal_time_stamp() > CONFIG_VFS_DEBUG) printk(__VA_ARGS__) 289 295 #else 290 296 #define vfs_dmsg(...)
Note: See TracChangeset
for help on using the changeset viewer.