Changeset 583 for trunk/kernel/kern/printk.c
- Timestamp:
- Nov 1, 2018, 12:10:42 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/kern/printk.c
r564 r583 385 385 386 386 //////////////////////////////////// 387 void panic( const char * file_name, 388 const char * function_name, 387 void panic( const char * function_name, 389 388 uint32_t line, 390 389 cycle_t cycle, … … 407 406 408 407 // print generic infos 409 nolock_printk( 410 "\n[PANIC] in %s: line %d | function %s | cycle %d\n" 411 "core[%x,%d] | thread %x (%x) in process %x (%x)\n", 412 file_name, line, function_name, (uint32_t) cycle, 413 local_cxy, current->core->lid, 414 current->trdid, current, 415 current->process->pid, current->process ); 408 nolock_printk("\n[PANIC] in %s: line %d | cycle %d\n" 409 "core[%x,%d] | thread %x (%x) | process %x (%x)\n", 410 function_name, line, (uint32_t)cycle, 411 local_cxy, current->core->lid, 412 current->trdid, current, 413 current->process->pid, current->process ); 416 414 417 415 // call kernel_printf to print format
Note: See TracChangeset
for help on using the changeset viewer.