Changeset 409 for trunk/hal/tsar_mips32/core/hal_exception.c
- Timestamp:
- Dec 20, 2017, 4:51:09 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/hal/tsar_mips32/core/hal_exception.c
r408 r409 99 99 xcode_values_t; 100 100 101 ///////////////////////////////////////////// ///////102 staticchar * hal_mmu_exception_str( uint32_t code )101 ///////////////////////////////////////////// 102 char * hal_mmu_exception_str( uint32_t code ) 103 103 { 104 104 if ( code == MMU_WRITE_PT1_UNMAPPED ) return "WRITE_PT1_UNMAPPED"; … … 201 201 } 202 202 203 // @@@ 204 thread_t * parent = (thread_t *)0xa4000; 205 uint32_t cond = (this == 0xe0000) && (hal_time_stamp() > 5380000); 206 207 if( cond ) hal_gpt_display( this->process ); 208 if( cond ) hal_gpt_display( parent->process ); 209 if( cond ) printk("\n[DBG] %s : core[%x,%d] / is_ins %d / %s / vaddr %x\n", 203 excp_dmsg("\n[DBG] %s : core[%x,%d] / is_ins %d / %s / vaddr %x\n", 210 204 __FUNCTION__ , local_cxy , this->core->lid , is_ins, 211 205 hal_mmu_exception_str(excp_code) , bad_vaddr ); … … 267 261 { 268 262 269 if( cond ) printk("\n[DBG] %s : core[%x,%d] / copy-on-write handled for vaddr = %x\n",263 excp_dmsg("\n[DBG] %s : core[%x,%d] / copy-on-write handled for vaddr = %x\n", 270 264 __FUNCTION__ , local_cxy , this->core->lid , bad_vaddr ); 271 265 … … 275 269 else // non writable user error 276 270 { 277 printk("\n[ERROR] in %s for thread %x : write tonon-writable vaddr = %x\n",271 printk("\n[ERROR] in %s for thread %x : non-writable vaddr = %x\n", 278 272 __FUNCTION__ , this->trdid , bad_vaddr ); 279 273
Note: See TracChangeset
for help on using the changeset viewer.