Changeset 279 for trunk/kernel/kern/printk.h
- Timestamp:
- Jul 27, 2017, 12:23:29 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/kern/printk.h
r188 r279 74 74 75 75 /********************************************************************************** 76 * This function displays a formated string on the kernel terminal TXT0,77 * using a busy waiting policy: It calls directly the relevant TXT driver,78 * without taking the the lock protecting exclusive access to TXT0 terminal.79 **********************************************************************************80 * @ format : formated string.81 *********************************************************************************/82 void nolock_printk( char* format, ... );83 84 /**********************************************************************************85 76 * This function displays a "PANIC" message and force the calling core in 86 77 * sleeping mode if a Boolean condition is false. … … 95 86 char * string ); 96 87 97 /**********************************************************************************98 * This function displays a "PANIC" message and force the calling core in99 * 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 110 88 /////////////////////////////////////////////////////////////////////////////////// 111 89 // Conditionnal debug macros … … 215 193 216 194 #if CONFIG_KINIT_DEBUG 217 #define kinit_dmsg(...) nolock_printk(__VA_ARGS__)195 #define kinit_dmsg(...) printk(__VA_ARGS__) 218 196 #else 219 197 #define kinit_dmsg(...)
Note: See TracChangeset
for help on using the changeset viewer.