Changeset 103 for trunk/kernel/kern/printk.h
- Timestamp:
- Jun 29, 2017, 6:22:27 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/kern/printk.h
r50 r103 67 67 * This function displays a formated string on the kernel terminal TXT0, 68 68 * using a busy waiting policy: It calls directly the relevant TXT driver, 69 * after taking the TXT0 chdevlock for exclusive access to the TXT0 terminal.69 * after taking the lock for exclusive access to the TXT0 terminal. 70 70 ********************************************************************************** 71 71 * @ format : formated string. 72 72 *********************************************************************************/ 73 void 73 void printk( char* format, ... ); 74 74 75 75 /********************************************************************************** 76 * Display a formated string on the calling thread private terminal, using a 77 * descheduling policy: it register the request in the selected TXT chdev waiting 78 * queue and deschedule. IT is reactivated by the IRQ signaling completion. 79 * Not fully implemented yet ( use TXT0 in deschedling mode ). 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. 80 79 ********************************************************************************** 81 80 * @ format : formated string. 82 81 *********************************************************************************/ 83 void user_printk( char* format, ... );82 void nolock_printk( char* format, ... ); 84 83 85 84 /********************************************************************************** … … 203 202 204 203 #if CONFIG_KINIT_DEBUG 205 #define kinit_dmsg(...) printk(__VA_ARGS__)204 #define kinit_dmsg(...) nolock_printk(__VA_ARGS__) 206 205 #else 207 206 #define kinit_dmsg(...)
Note: See TracChangeset
for help on using the changeset viewer.