Changeset 0c61955 in mainline


Ignore:
Timestamp:
2010-09-02T20:54:00Z (14 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
20235a3
Parents:
3fb3c1fc
Message:

Print all registers in istate_decode().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/mips32/src/exception.c

    r3fb3c1fc r0c61955  
    7474void istate_decode(istate_t *istate)
    7575{
    76         printf("at=%p\tv0=%p\tv1=%p\n", istate->at, istate->v0, istate->v1);
    77         printf("a0=%p\ta1=%p\ta2=%p\n", istate->a0, istate->a1, istate->a2);
    78         printf("a3=%p\tt0=%p\tt1=%p\n", istate->a3, istate->t0, istate->t1);
    79         printf("t2=%p\tt3=%p\tt4=%p\n", istate->t2, istate->t3, istate->t4);
    80         printf("t5=%p\tt6=%p\tt7=%p\n", istate->t5, istate->t6, istate->t7);
    81         printf("t8=%p\tt9=%p\tgp=%p\n", istate->t8, istate->t9, istate->gp);
    82         printf("sp=%p\tra=%p\t\n", istate->sp, istate->ra);
    83         printf("lo=%p\thi=%p\t\n", istate->lo, istate->hi);
    84         printf("cp0_status=%p\tcp0_epc=%p\tk1=%p\n",
    85             istate->status, istate->epc, istate->kt1);
     76        printf("epc=%p\tsta=%p\tlo =%p\thi =%p\n",
     77            istate->epc, istate->status, istate->lo, istate->hi);
     78        printf("a0 =%p\ta1 =%p\ta2 =%p\ta3 =%p\n",
     79            istate->a0, istate->a1, istate->a2, istate->a3);
     80        printf("t0 =%p\tt1 =%p\tt2 =%p\tt3 =%p\n",
     81            istate->t0, istate->t1, istate->t2, istate->t3);
     82        printf("t4 =%p\tt5 =%p\tt6 =%p\tt7 =%p\n",
     83            istate->t4, istate->t5, istate->t6, istate->t7);
     84        printf("t8 =%p\tt9 =%p\tv0 =%p\tv1 =%p\n",
     85            istate->t8, istate->t9, istate->v0, istate->v1);
     86        printf("s0 =%p\ts1 =%p\ts2 =%p\ts3 =%p\n",
     87            istate->s0, istate->s1, istate->s2, istate->s3);
     88        printf("s4 =%p\ts5 =%p\ts6 =%p\ts7 =%p\n",
     89            istate->s4, istate->s5, istate->s6, istate->s7);
     90        printf("s8 =%p\tat =%p\tkt0=%p\tkt1=%p\n",
     91            istate->s8, istate->at, istate->kt0, istate->kt1);
     92        printf("sp =%p\tra =%p\tgp =%p\n",
     93            istate->sp, istate->ra, istate->gp);
    8694}
    8795
Note: See TracChangeset for help on using the changeset viewer.