Changeset 459 for trunk/kernel/kern/printk.c
- Timestamp:
- Aug 13, 2018, 1:43:20 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/kern/printk.c
r457 r459 406 406 remote_spinlock_lock_busy( lock_xp , &save_sr ); 407 407 408 // call nolock_printk to print function_name409 nolock_printk("\n[PANIC] on core[%x,%d] in %s : " ,410 local_cxy , CURRENT_THREAD->core->lid , function_name);408 // call nolock_printk to print core, function_name, and cycle 409 nolock_printk("\n[PANIC] on core[%x,%d] in %s at cycle %d : " , 410 local_cxy, CURRENT_THREAD->core->lid, function_name, (uint32_t)hal_get_cycles() ); 411 411 412 412 // call kernel_printf on TXT0, in busy waiting to print format
Note: See TracChangeset
for help on using the changeset viewer.