Changeset 418 for trunk/kernel/syscalls/sys_panic.c
- Timestamp:
- Jan 8, 2018, 2:25:39 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/syscalls/sys_panic.c
r410 r418 47 47 if( error ) 48 48 { 49 printk("\n[USER DBG] thread %x / process %x/ core[%x,%d] / cycle %d\n"49 printk("\n[USER PANIC] thread %x / process %x/ core[%x,%d] / cycle %d\n" 50 50 "cause unknown, because string not in user space\n", 51 51 this->trdid , process->pid , local_cxy , core->lid , … … 56 56 if( hal_strlen_from_uspace( string ) >= 256 ) 57 57 { 58 printk("\n[USER DBG] thread %x / process %x/ core[%x,%d] / cycle %d\n"58 printk("\n[USER PANIC] thread %x / process %x/ core[%x,%d] / cycle %d\n" 59 59 "cause unknown, because string larger than 256 characters\n", 60 60 this->trdid , process->pid , local_cxy , core->lid , … … 66 66 67 67 // print user debug message on kernel terminal 68 printk("\n[USER DBG] thread %x / process %x / core[%x,%d] / cycle %d\n %s\n",68 printk("\n[USER PANIC] thread %x / process %x / core[%x,%d] / cycle %d\n %s\n", 69 69 this->trdid , process->pid , local_cxy, core->lid , 70 70 (uint32_t)hal_get_cycles() , kbuf ); … … 72 72 return 0; 73 73 74 } // end sys_ get_cycle()74 } // end sys_panic()
Note: See TracChangeset
for help on using the changeset viewer.