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


Ignore:
Timestamp:
2009-01-08T12:07:38Z (15 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/sparc64/src/mm/tlb.c

    rc571f42 rf651e80  
    425425    const char *str)
    426426{
    427         fault_if_from_uspace(istate, "%s", str);
     427        fault_if_from_uspace(istate, "%s.", str);
    428428        dump_istate(istate);
    429         panic("%s\n", str);
     429        panic("%s.", str);
    430430}
    431431
     
    437437        va = tag.vpn << MMU_PAGE_WIDTH;
    438438        if (tag.context) {
    439                 fault_if_from_uspace(istate, "%s, Page=%p (ASID=%d)", str, va,
     439                fault_if_from_uspace(istate, "%s, Page=%p (ASID=%d).", str, va,
    440440                    tag.context);
    441441        }
    442442        dump_istate(istate);
    443         printf("Faulting page: %p, ASID=%d\n", va, tag.context);
    444         panic("%s\n", str);
     443        printf("Faulting page: %p, ASID=%d.\n", va, tag.context);
     444        panic("%s.", str);
    445445}
    446446
     
    453453
    454454        if (tag.context) {
    455                 fault_if_from_uspace(istate, "%s, Page=%p (ASID=%d)", str, va,
     455                fault_if_from_uspace(istate, "%s, Page=%p (ASID=%d).", str, va,
    456456                    tag.context);
    457457        }
    458458        printf("Faulting page: %p, ASID=%d\n", va, tag.context);
    459459        dump_istate(istate);
    460         panic("%s\n", str);
     460        panic("%s.", str);
    461461}
    462462
Note: See TracChangeset for help on using the changeset viewer.