Changeset 438 for trunk/kernel/syscalls/sys_munmap.c
- Timestamp:
- Apr 4, 2018, 2:49:02 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/syscalls/sys_munmap.c
r437 r438 43 43 process_t * process = this->process; 44 44 45 #if CONFIG_DEBUG_SYS_MUNMAP45 #if DEBUG_SYS_MUNMAP 46 46 uint64_t tm_start; 47 47 uint64_t tm_end; 48 48 tm_start = hal_get_cycles(); 49 if( CONFIG_DEBUG_SYS_MUNMAP < tm_start )49 if( DEBUG_SYS_MUNMAP < tm_start ) 50 50 printk("\n[DBG] %s : thread %x enter / process %x / cycle %d\n" 51 51 __FUNCTION__ , this, process->pid, (uint32_t)tm_start ); … … 58 58 { 59 59 60 #if CONFIG_DEBUG_SYSCALLS_ERROR60 #if DEBUG_SYSCALLS_ERROR 61 61 printk("\n[ERROR] in %s : cannot remove mapping\n", __FUNCTION__ ); 62 62 #endif … … 65 65 } 66 66 67 #if CONFIG_DEBUG_SYS_MUNMAP67 #if DEBUG_SYS_MUNMAP 68 68 tm_end = hal_get_cycles(); 69 if( CONFIG_DEBUG_SYS_MUNMAP < tm_start )69 if( DEBUG_SYS_MUNMAP < tm_start ) 70 70 printk("\n[DBG] %s : thread %x exit / process %x / cycle %d\n" 71 71 __FUNCTION__ , this, process->pid, (uint32_t)tm_end );
Note: See TracChangeset
for help on using the changeset viewer.