Changeset f651e80 in mainline for kernel/arch/mips32/src/mm/tlb.c


Ignore:
Timestamp:
2009-01-08T12:07:38Z (16 years ago)
Author:
Jiri Svoboda <jirik.svoboda@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
7447572
Parents:
c571f42
Message:

Make newlines in panic messages consistent. Add periods at end of messages so that it is obvious whether they are printed entirely.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/mips32/src/mm/tlb.c

    rc571f42 rf651e80  
    116116                        return;
    117117                default:
    118                         panic("unexpected pfrc (%d)\n", pfrc);
     118                        panic("Unexpected pfrc (%d).", pfrc);
    119119                }
    120120        }
     
    200200                        return;
    201201                default:
    202                         panic("unexpected pfrc (%d)\n", pfrc);
     202                        panic("Unexpected pfrc (%d).", pfrc);
    203203                }
    204204        }
     
    283283                        return;
    284284                default:
    285                         panic("unexpected pfrc (%d)\n", pfrc);
     285                        panic("Unexpected pfrc (%d).", pfrc);
    286286                }
    287287        }
     
    331331                sym2 = s;
    332332
    333         fault_if_from_uspace(istate, "TLB Refill Exception on %p",
     333        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).", cp0_badvaddr_read(),
    336336            istate->epc, symbol, sym2);
    337337}
     
    345345        if (s)
    346346                symbol = s;
    347         fault_if_from_uspace(istate, "TLB Invalid Exception on %p",
     347        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).", cp0_badvaddr_read(),
    350350            istate->epc, symbol);
    351351}
     
    358358        if (s)
    359359                symbol = s;
    360         fault_if_from_uspace(istate, "TLB Modified Exception on %p",
     360        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).", cp0_badvaddr_read(),
    363363            istate->epc, symbol);
    364364}
     
    434434                        break;
    435435                default:
    436                         panic("unexpected rc (%d)\n", rc);
     436                        panic("Unexpected rc (%d).", rc);
    437437                }
    438438               
Note: See TracChangeset for help on using the changeset viewer.