Changeset 432 for trunk/hal/tsar_mips32/core/hal_context.c
- Timestamp:
- Feb 14, 2018, 3:39:35 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/hal/tsar_mips32/core/hal_context.c
r408 r432 41 41 #define SR_USR_MODE 0x0000FF13 42 42 #define SR_USR_MODE_FPU 0x2000FF13 43 #define SR_SYS_MODE 0x0000FF0 043 #define SR_SYS_MODE 0x0000FF01 44 44 45 45 ///////////////////////////////////////////////////////////////////////////////////////// … … 174 174 } 175 175 176 context_dmsg("\n[DBG] %s : thread %x in process %x\n"177 " - a0 = %x\n"178 " - sp = %x\n"179 " - ra = %x\n"180 " - sr = %x\n"181 " - th = %x\n"182 " - epc = %x\n"183 " - ptpr = %x\n"184 " - mode = %x\n",185 __FUNCTION__ , thread->trdid , thread->process->pid,186 context->a0_04, context->sp_29, context->ra_31,187 context->c0_sr, context->c0_th, context->c0_epc,188 context->c2_ptpr, context->c2_mode );189 176 return 0; 190 177 … … 284 271 " c0_sr = %X c0_epc = %X c0_th = %X\n" 285 272 " c2_ptpr = %X c2_mode = %X\n", 286 ptr ->trdid, ptr->process->pid, hal_time_stamp(),273 ptr, ptr->process->pid, (uint32_t)hal_get_cycles(), 287 274 sp_29 , ra_31, 288 275 c0_sr , c0_epc , c0_th,
Note: See TracChangeset
for help on using the changeset viewer.