Changeset 438 for trunk/hal/tsar_mips32/core/hal_exception.c
- Timestamp:
- Apr 4, 2018, 2:49:02 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/hal/tsar_mips32/core/hal_exception.c
r437 r438 201 201 } 202 202 203 #if CONFIG_DEBUG_HAL_EXCEPTIONS203 #if DEBUG_HAL_EXCEPTIONS 204 204 uint32_t cycle = (uint32_t)hal_get_cycles(); 205 if( CONFIG_DEBUG_HAL_EXCEPTIONS < cycle )205 if( DEBUG_HAL_EXCEPTIONS < cycle ) 206 206 printk("\n[DBG] %s : thread %x enter / is_ins %d / %s / vaddr %x / cycle %d\n", 207 207 __FUNCTION__, this, is_ins, hal_mmu_exception_str(excp_code), bad_vaddr, cycle ); … … 229 229 { 230 230 231 #if CONFIG_DEBUG_HAL_EXCEPTIONS231 #if DEBUG_HAL_EXCEPTIONS 232 232 cycle = (uint32_t)hal_get_cycles(); 233 if( CONFIG_DEBUG_HAL_EXCEPTIONS < cycle )233 if( DEBUG_HAL_EXCEPTIONS < cycle ) 234 234 printk("\n[DBG] %s : thread %x exit / page-fault handled for vaddr = %x\n", 235 235 __FUNCTION__ , this , bad_vaddr ); … … 268 268 { 269 269 270 #if CONFIG_DEBUG_HAL_EXCEPTIONS270 #if DEBUG_HAL_EXCEPTIONS 271 271 cycle = (uint32_t)hal_get_cycles(); 272 if( CONFIG_DEBUG_HAL_EXCEPTIONS < cycle )272 if( DEBUG_HAL_EXCEPTIONS < cycle ) 273 273 printk("\n[DBG] %s : thread %x exit / copy-on-write handled for vaddr = %x\n", 274 274 __FUNCTION__ , this , bad_vaddr ); … … 390 390 excPC = uzone[UZ_EPC]; 391 391 392 #if CONFIG_DEBUG_HAL_EXCEPTIONS392 #if DEBUG_HAL_EXCEPTIONS 393 393 uint32_t cycle = (uint32_t)hal_get_cycles(); 394 if( CONFIG_DEBUG_HAL_EXCEPTIONS < cycle )394 if( DEBUG_HAL_EXCEPTIONS < cycle ) 395 395 printk("\n[DBG] %s : thread %x enter / core[%x,%d] / pid %x / epc %x / xcode %x / cycle %d\n", 396 396 __FUNCTION__, this, local_cxy, this->core->lid, this->process->pid, excPC, excCode, cycle ); … … 450 450 } 451 451 452 #if CONFIG_DEBUG_HAL_EXCEPTIONS452 #if DEBUG_HAL_EXCEPTIONS 453 453 cycle = (uint32_t)hal_get_cycles(); 454 if( CONFIG_DEBUG_HAL_EXCEPTIONS < cycle )454 if( DEBUG_HAL_EXCEPTIONS < cycle ) 455 455 printk("\n[DBG] %s : thread %x exit / core[%x,%d] / pid %x / epc %x / xcode %x / cycle %d\n", 456 456 __FUNCTION__, this, local_cxy, this->core->lid, this->process->pid, excPC, excCode, cycle );
Note: See TracChangeset
for help on using the changeset viewer.