Changeset 670 for trunk/kernel/syscalls/sys_place_fork.c
- Timestamp:
- Nov 19, 2020, 11:45:52 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/syscalls/sys_place_fork.c
r637 r670 38 38 { 39 39 thread_t * this = CURRENT_THREAD; 40 process_t * process = this->process;41 40 42 #if (DEBUG_SYS_PLACE_FORK || CONFIG_INSTRUMENTATION_SYSCALLS) 43 uint64_t tm_start = hal_get_cycles(); 41 #if DEBUG_SYS_PLACE_FORK || DEBUG_SYSCALLS_ERROR || CONFIG_INSTRUMENTATION_SYSCALLS 42 uint64_t tm_start = hal_get_cycles(); 43 process_t * process = this->process; 44 44 #endif 45 45 … … 55 55 56 56 #if DEBUG_SYSCALLS_ERROR 57 if( DEBUG_SYSCALLS_ERROR < (uint32_t)tm_start ); 57 58 printk("\n[ERROR] in %s : thread[%x,‰x] / illegal cxy argument %x\n", 58 59 __FUNCTION__ , process->pid , this->trdid , cxy );
Note: See TracChangeset
for help on using the changeset viewer.