Changeset 7ed2d8f in mainline for kernel/arch/mips32/src


Ignore:
Timestamp:
2009-01-07T22:55:52Z (17 years ago)
Author:
Jiri Svoboda <jirik.svoboda@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
c571f42
Parents:
06b2b7f
Message:

Unify newlines in fault_if_from_uspace() format strings. (Remove them and print newline automatically). Also start messages with caps.

Location:
kernel/arch/mips32/src
Files:
2 edited

Legend:

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

    r06b2b7f r7ed2d8f  
    8989static void unhandled_exception(int n, istate_t *istate)
    9090{
    91         fault_if_from_uspace(istate, "unhandled exception %s", exctable[n]);
     91        fault_if_from_uspace(istate, "Unhandled exception %s", exctable[n]);
    9292       
    9393        print_regdump(istate);
    94         panic("unhandled exception %s\n", exctable[n]);
     94        panic("Unhandled exception %s.\n", exctable[n]);
    9595}
    9696
     
    133133                scheduler_fpu_lazy_request();
    134134        else {
    135                 fault_if_from_uspace(istate, "unhandled Coprocessor Unusable Exception");
    136                 panic("unhandled Coprocessor Unusable Exception\n");
     135                fault_if_from_uspace(istate, "Unhandled Coprocessor Unusable Exception");
     136                panic("Unhandled Coprocessor Unusable Exception.\n");
    137137        }
    138138}
  • kernel/arch/mips32/src/mm/tlb.c

    r06b2b7f r7ed2d8f  
    333333        fault_if_from_uspace(istate, "TLB Refill Exception on %p",
    334334            cp0_badvaddr_read());
    335         panic("%x: TLB Refill Exception at %x(%s<-%s)\n", cp0_badvaddr_read(),
     335        panic("%x: TLB Refill Exception at %x(%s<-%s).\n", cp0_badvaddr_read(),
    336336            istate->epc, symbol, sym2);
    337337}
     
    347347        fault_if_from_uspace(istate, "TLB Invalid Exception on %p",
    348348            cp0_badvaddr_read());
    349         panic("%x: TLB Invalid Exception at %x(%s)\n", cp0_badvaddr_read(),
     349        panic("%x: TLB Invalid Exception at %x(%s).\n", cp0_badvaddr_read(),
    350350            istate->epc, symbol);
    351351}
     
    360360        fault_if_from_uspace(istate, "TLB Modified Exception on %p",
    361361            cp0_badvaddr_read());
    362         panic("%x: TLB Modified Exception at %x(%s)\n", cp0_badvaddr_read(),
     362        panic("%x: TLB Modified Exception at %x(%s).\n", cp0_badvaddr_read(),
    363363            istate->epc, symbol);
    364364}
Note: See TracChangeset for help on using the changeset viewer.