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/arm32/src/mm/page_fault.c

    rc571f42 rf651e80  
    143143        /* undefined instructions */
    144144        if (instr.condition == 0xf) {
    145                 panic("page_fault - instruction doesn't access memory "
    146                     "(instr_code: %x, badvaddr:%x)", instr, badvaddr);
     145                panic("page_fault - instruction does not access memory "
     146                    "(instr_code: %x, badvaddr:%x).", instr, badvaddr);
    147147                return PF_ACCESS_EXEC;
    148148        }
     
    163163
    164164        panic("page_fault - instruction doesn't access memory "
    165             "(instr_code: %x, badvaddr:%x)", instr, badvaddr);
     165            "(instr_code: %x, badvaddr:%x).", instr, badvaddr);
    166166
    167167        return PF_ACCESS_EXEC;
     
    189189                    access);
    190190
    191                 fault_if_from_uspace(istate, "Page fault: %#x", badvaddr);
    192                 panic("Page fault\n");
     191                fault_if_from_uspace(istate, "Page fault: %#x.", badvaddr);
     192                panic("Page fault.");
    193193        }
    194194}
     
    206206                dprintf("prefetch_abort\n");
    207207                print_istate(istate);
    208                 panic("page fault - prefetch_abort at address: %x\n",
     208                panic("page fault - prefetch_abort at address: %x.",
    209209                    istate->pc);
    210210        }
Note: See TracChangeset for help on using the changeset viewer.