Changeset 611 for trunk/hal/tsar_mips32/core/hal_gpt.c
- Timestamp:
- Jan 9, 2019, 3:02:51 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/hal/tsar_mips32/core/hal_gpt.c
r587 r611 137 137 uint32_t cycle = (uint32_t)hal_get_cycles(); 138 138 if( DEBUG_HAL_GPT_CREATE < cycle ) 139 printk("\n[ DBG] %s: thread[%x,%x] enter / cycle %d\n",139 printk("\n[%s] : thread[%x,%x] enter / cycle %d\n", 140 140 __FUNCTION__, this->process->pid, this->trdid, cycle ); 141 141 #endif … … 167 167 cycle = (uint32_t)hal_get_cycles(); 168 168 if( DEBUG_HAL_GPT_CREATE < cycle ) 169 printk("\n[ DBG] %s: thread[%x,%x] exit / cycle %d\n",169 printk("\n[%s] : thread[%x,%x] exit / cycle %d\n", 170 170 __FUNCTION__, this->process->pid, this->trdid, cycle ); 171 171 #endif … … 194 194 thread_t * this = CURRENT_THREAD; 195 195 if( DEBUG_HAL_GPT_DESTROY < cycle ) 196 printk("\n[ DBG] %s: thread[%x,%x] enter / cycle %d\n",196 printk("\n[%s] : thread[%x,%x] enter / cycle %d\n", 197 197 __FUNCTION__, this->process->pid, this->trdid, cycle ); 198 198 #endif … … 267 267 cycle = (uint32_t)hal_get_cycles(); 268 268 if( DEBUG_HAL_GPT_DESTROY < cycle ) 269 printk("\n[ DBG] %s: thread[%x,%x] exit / cycle %d\n",269 printk("\n[%s] : thread[%x,%x] exit / cycle %d\n", 270 270 __FUNCTION__, this->process->pid, this->trdid, cycle ); 271 271 #endif … … 368 368 uint32_t cycle = (uint32_t)hal_get_cycles(); 369 369 if( DEBUG_HAL_GPT_SET_PTE < cycle ) 370 printk("\n[ DBG] %s: thread[%x,%x] enter / vpn %x / attr %x / ppn %x / cluster %x / cycle %d\n",370 printk("\n[%s] : thread[%x,%x] enter / vpn %x / attr %x / ppn %x / cluster %x / cycle %d\n", 371 371 __FUNCTION__, this->process->pid, this->trdid, vpn, attr, ppn, gpt_cxy, cycle ); 372 372 #endif … … 400 400 #if DEBUG_HAL_GPT_SET_PTE 401 401 if( DEBUG_HAL_GPT_SET_PTE < cycle ) 402 printk("\n[ DBG] %s: thread[%x,%x] map PTE1 / cxy %x / ix1 %x / pt1 %x / pte1 %x\n",402 printk("\n[%s] : thread[%x,%x] map PTE1 / cxy %x / ix1 %x / pt1 %x / pte1 %x\n", 403 403 __FUNCTION__, this->process->pid, this->trdid, gpt_cxy, ix1, pt1_ptr, pte1 ); 404 404 #endif … … 443 443 #if DEBUG_HAL_GPT_SET_PTE 444 444 if( DEBUG_HAL_GPT_SET_PTE < cycle ) 445 printk("\n[ DBG] %s: thread[%x,%x] map PTD1 / cxy %x / ix1 %d / pt1 %x / ptd1 %x\n",445 printk("\n[%s] : thread[%x,%x] map PTD1 / cxy %x / ix1 %d / pt1 %x / ptd1 %x\n", 446 446 __FUNCTION__, this->process->pid, this->trdid, gpt_cxy, ix1, pt1_ptr, pte1 ); 447 447 #endif … … 452 452 #if DEBUG_HAL_GPT_SET_PTE 453 453 if( DEBUG_HAL_GPT_SET_PTE < cycle ) 454 printk("\n[ DBG] %s: thread[%x,%x] get PTD1 / cxy %x / ix1 %d / pt1 %x / ptd1 %x\n",454 printk("\n[%s] : thread[%x,%x] get PTD1 / cxy %x / ix1 %d / pt1 %x / ptd1 %x\n", 455 455 __FUNCTION__, this->process->pid, this->trdid, gpt_cxy, ix1, pt1_ptr, pte1 ); 456 456 #endif … … 470 470 #if DEBUG_HAL_GPT_SET_PTE 471 471 if( DEBUG_HAL_GPT_SET_PTE < cycle ) 472 printk("\n[ DBG] %s: thread[%x,%x] map PTE2 / cxy %x / ix2 %x / pt2 %x / attr %x / ppn %x\n",472 printk("\n[%s] : thread[%x,%x] map PTE2 / cxy %x / ix2 %x / pt2 %x / attr %x / ppn %x\n", 473 473 __FUNCTION__, this->process->pid, this->trdid, gpt_cxy, ix2, pt2_ptr, tsar_attr, ppn ); 474 474 #endif … … 788 788 thread_t * this = CURRENT_THREAD; 789 789 if( DEBUG_HAL_GPT_COPY < cycle ) 790 printk("\n[ DBG] %s: thread[%x,%x] enter / vpn %x / src_cxy %x / dst_cxy %x / cycle %d\n",790 printk("\n[%s] : thread[%x,%x] enter / vpn %x / src_cxy %x / dst_cxy %x / cycle %d\n", 791 791 __FUNCTION__, this->process->pid, this->trdid, vpn, src_cxy, local_cxy, cycle ); 792 792 #endif … … 879 879 cycle = (uint32_t)hal_get_cycles; 880 880 if( DEBUG_HAL_GPT_COPY < cycle ) 881 printk("\n[ DBG] %s: thread[%x,%x] exit / copy done for vpn %x / cycle %d\n",881 printk("\n[%s] : thread[%x,%x] exit / copy done for vpn %x / cycle %d\n", 882 882 __FUNCTION__, this->process->pid, this->trdid, vpn, cycle ); 883 883 #endif … … 896 896 cycle = (uint32_t)hal_get_cycles; 897 897 if( DEBUG_HAL_GPT_COPY < cycle ) 898 printk("\n[ DBG] %s: thread[%x,%x] exit / nothing done for vpn %x / cycle %d\n",898 printk("\n[%s] : thread[%x,%x] exit / nothing done for vpn %x / cycle %d\n", 899 899 __FUNCTION__, this->process->pid, this->trdid, vpn, cycle ); 900 900 #endif
Note: See TracChangeset
for help on using the changeset viewer.