Changeset 280a27e in mainline for arch/ia64/src/interrupt.c


Ignore:
Timestamp:
2006-04-16T13:16:44Z (19 years ago)
Author:
Josef Cejka <malyzelenyhnus@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
50de918
Parents:
c624b96
Message:

Printf ported back from uspace to kernel.
Printf calls changed to match new conventions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • arch/ia64/src/interrupt.c

    rc624b96 r280a27e  
    133133        printf("Interrupted context dump:\n");
    134134        printf("ar.bsp=%P\tar.bspstore=%P\n", istate->ar_bsp, istate->ar_bspstore);
    135         printf("ar.rnat=%Q\tar.rsc=%Q\n", istate->ar_rnat, istate->ar_rsc);
    136         printf("ar.ifs=%Q\tar.pfs=%Q\n", istate->ar_ifs, istate->ar_pfs);
    137         printf("cr.isr=%Q\tcr.ipsr=%Q\t\n", istate->cr_isr.value, istate->cr_ipsr);
     135        printf("ar.rnat=%#llX\tar.rsc=%$llX\n", istate->ar_rnat, istate->ar_rsc);
     136        printf("ar.ifs=%#llX\tar.pfs=%#llX\n", istate->ar_ifs, istate->ar_pfs);
     137        printf("cr.isr=%#llX\tcr.ipsr=%#llX\t\n", istate->cr_isr.value, istate->cr_ipsr);
    138138       
    139         printf("cr.iip=%Q, #%d\t(%s)\n", istate->cr_iip, istate->cr_isr.ei ,iip ? iip : "?");
    140         printf("cr.iipa=%Q\t(%s)\n", istate->cr_iipa, iipa ? iipa : "?");
    141         printf("cr.ifa=%Q\t(%s)\n", istate->cr_ifa, ifa ? ifa : "?");
     139        printf("cr.iip=%#llX, #%d\t(%s)\n", istate->cr_iip, istate->cr_isr.ei ,iip ? iip : "?");
     140        printf("cr.iipa=%#llX\t(%s)\n", istate->cr_iipa, iipa ? iipa : "?");
     141        printf("cr.ifa=%#llX\t(%s)\n", istate->cr_ifa, ifa ? ifa : "?");
    142142}
    143143
     
    183183#else
    184184        dump_interrupted_context(istate);
    185         panic("Interruption: %W (%s)\n", (__u16) vector, vector_to_string(vector));
     185        panic("Interruption: %#hX (%s)\n", (__u16) vector, vector_to_string(vector));
    186186#endif
    187187}
     
    218218{
    219219        dump_interrupted_context(istate);
    220         panic("Interruption: %W (%s)\n", (__u16) vector, vector_to_string(vector));
     220        panic("Interruption: %#hX (%s)\n", (__u16) vector, vector_to_string(vector));
    221221}
    222222
Note: See TracChangeset for help on using the changeset viewer.