Changeset 428 for trunk/kernel/kern/printk.h
- Timestamp:
- Jan 29, 2018, 6:08:07 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/kern/printk.h
r415 r428 83 83 84 84 /********************************************************************************** 85 * This function displays a message and forces the calling core in sleeping mode.86 **********************************************************************************87 * @ format : formatted string88 *********************************************************************************/89 void _panic( char* format, ... );90 91 /**********************************************************************************92 85 * This function displays a formated message on kernel TXT0 terminal, 93 86 * and forces the calling core in sleeping mode if a Boolean condition is false. … … 126 119 void putl( uint64_t val ); 127 120 128 129 #define panic(fmt, ...) _panic("\n[PANIC] %s(): " fmt "\n", __func__, ##__VA_ARGS__)130 121 131 122 ///////////////////////////////////////////////////////////////////////////////////
Note: See TracChangeset
for help on using the changeset viewer.