Changeset 188 for trunk/kernel/kern/printk.h
- Timestamp:
- Jul 12, 2017, 8:12:41 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/kern/printk.h
r103 r188 83 83 84 84 /********************************************************************************** 85 * This function display a "PANIC" message and force the calling core in85 * This function displays a "PANIC" message and force the calling core in 86 86 * sleeping mode if a Boolean condition is false. 87 87 * These functions are actually used to debug the kernel... … … 95 95 char * string ); 96 96 97 /********************************************************************************** 98 * This function displays a "PANIC" message and force the calling core in 99 * sleeping mode if a Boolean condition is false, 100 * without taking the the lock protecting exclusive access to TXT0 terminal. 101 ********************************************************************************** 102 * @ condition : condition that must be true. 103 * @ function_name : name of the calling function. 104 * @ string : error message if condition is false. 105 *********************************************************************************/ 106 inline void nolock_assert( bool_t condition, 107 const char * function_name, 108 char * string ); 109 97 110 /////////////////////////////////////////////////////////////////////////////////// 98 111 // Conditionnal debug macros … … 171 184 #endif 172 185 173 #if CONFIG_ICU_DEBUG174 #define icu_dmsg(...) printk(__VA_ARGS__)175 #else176 #define icu_dmsg(...)177 #endif178 179 186 #if CONFIG_IDLE_DEBUG 180 187 #define idle_dmsg(...) printk(__VA_ARGS__) … … 187 194 #else 188 195 #define ioc_dmsg(...) 196 #endif 197 198 #if CONFIG_IRQ_DEBUG 199 #define irq_dmsg(...) printk(__VA_ARGS__) 200 #else 201 #define irq_dmsg(...) 189 202 #endif 190 203
Note: See TracChangeset
for help on using the changeset viewer.