Changeset 647 for trunk/hal/tsar_mips32/core/hal_gpt.c
- Timestamp:
- Oct 22, 2019, 1:48:51 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/hal/tsar_mips32/core/hal_gpt.c
r640 r647 24 24 #include <hal_kernel_types.h> 25 25 #include <hal_gpt.h> 26 #include <hal_vmm.h> 26 27 #include <hal_special.h> 27 28 #include <hal_irqmask.h> … … 291 292 uint32_t cycle = (uint32_t)hal_get_cycles(); 292 293 // if( DEBUG_HAL_GPT_LOCK_PTE < cycle ) 293 if( (vpn == 0x 3600) && (gpt_cxy == 0x11) )294 if( (vpn == 0xc1fff) && (gpt_cxy == 0x1) ) 294 295 printk("\n[%s] thread[%x,%x] enters / vpn %x in cluster %x / cycle %d\n", 295 296 __FUNCTION__, this->process->pid, this->trdid, vpn, gpt_cxy, cycle ); … … 360 361 #if DEBUG_HAL_GPT_LOCK_PTE 361 362 // if( DEBUG_HAL_GPT_LOCK_PTE < cycle ) 362 if( (vpn == 0x 3600) && (gpt_cxy == 0x11) )363 if( (vpn == 0xc1fff) && (gpt_cxy == 0x1) ) 363 364 printk("\n[%s] PTE1 unmapped : winner thread[%x,%x] allocates a PT2 for vpn %x in cluster %x\n", 364 365 __FUNCTION__, this->process->pid, this->trdid, vpn, gpt_cxy ); … … 371 372 #if DEBUG_HAL_GPT_LOCK_PTE 372 373 // if( DEBUG_HAL_GPT_LOCK_PTE < cycle ) 373 if( (vpn == 0x 3600) && (gpt_cxy == 0x11) )374 if( (vpn == 0xc1fff) && (gpt_cxy == 0x1) ) 374 375 printk("\n[%s] PTE1 unmapped : loser thread[%x,%x] wait PTE1 for vpn %x in cluster %x\n", 375 376 __FUNCTION__, this->process->pid, this->trdid, vpn, gpt_cxy ); … … 412 413 #if DEBUG_HAL_GPT_LOCK_PTE 413 414 // if( DEBUG_HAL_GPT_LOCK_PTE < cycle ) 414 if( (vpn == 0x 3600) && (gpt_cxy == 0x11) )415 if( (vpn == 0xc1fff) && (gpt_cxy == 0x1) ) 415 416 printk("\n[%s] PTE1 unmapped : loser thread[%x,%x] get PTE1 for vpn %x in cluster %x\n", 416 417 __FUNCTION__, this->process->pid, this->trdid, vpn, gpt_cxy ); … … 426 427 #if DEBUG_HAL_GPT_LOCK_PTE 427 428 // if( DEBUG_HAL_GPT_LOCK_PTE < cycle ) 428 if( (vpn == 0x 3600) && (gpt_cxy == 0x11) )429 if( (vpn == 0xc1fff) && (gpt_cxy == 0x1) ) 429 430 printk("\n[%s] thread[%x,%x] get pte1 %x for vpn %x in cluster %x\n", 430 431 __FUNCTION__, this->process->pid, this->trdid, pte1, vpn, gpt_cxy ); … … 494 495 cycle = (uint32_t)hal_get_cycles(); 495 496 // if( DEBUG_HAL_GPT_LOCK_PTE < cycle ) 496 if( (vpn == 0x 3600) && (gpt_cxy == 0x11) )497 if( (vpn == 0xc1fff) && (gpt_cxy == 0x1) ) 497 498 printk("\n[%s] thread[%x,%x] success / vpn %x in cluster %x / attr %x / ppn %x / cycle %d\n", 498 499 __FUNCTION__, this->process->pid, this->trdid, vpn, gpt_cxy, pte2_attr, pte2_ppn, cycle );
Note: See TracChangeset
for help on using the changeset viewer.