Changeset f651e80 in mainline for kernel/arch/amd64/src/mm/page.c


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

    rc571f42 rf651e80  
    181181       
    182182        if (istate->error_word & PFERR_CODE_RSVD)
    183                 panic("Reserved bit set in page table entry.\n");
     183                panic("Reserved bit set in page table entry.");
    184184       
    185185        if (istate->error_word & PFERR_CODE_RW)
     
    191191       
    192192        if (as_page_fault(page, access, istate) == AS_PF_FAULT) {
    193                 fault_if_from_uspace(istate, "Page fault: %#x", page);
     193                fault_if_from_uspace(istate, "Page fault: %#x.", page);
    194194
    195195                decode_istate(n, istate);
    196                 printf("Page fault address: %llx\n", page);
    197                 panic("Page fault\n");
     196                printf("Page fault address: %llx.\n", page);
     197                panic("Page fault.");
    198198        }
    199199}
     
    203203{
    204204        if (last_frame + ALIGN_UP(size, PAGE_SIZE) > KA2PA(KERNEL_ADDRESS_SPACE_END_ARCH))
    205                 panic("Unable to map physical memory %p (%d bytes)", physaddr, size)
     205                panic("Unable to map physical memory %p (%d bytes).", physaddr, size)
    206206       
    207207        uintptr_t virtaddr = PA2KA(last_frame);
Note: See TracChangeset for help on using the changeset viewer.