Changeset f651e80 in mainline for kernel/arch/ppc32/src


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.

Location:
kernel/arch/ppc32/src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/ppc32/src/mm/page.c

    rc571f42 rf651e80  
    5050        if (last_frame + ALIGN_UP(size, PAGE_SIZE) >
    5151            KA2PA(KERNEL_ADDRESS_SPACE_END_ARCH))
    52                 panic("Unable to map physical memory %p (%" PRIs " bytes)",
     52                panic("Unable to map physical memory %p (%" PRIs " bytes).",
    5353                    physaddr, size)
    5454       
  • kernel/arch/ppc32/src/mm/tlb.c

    rc571f42 rf651e80  
    101101                        return NULL;
    102102                default:
    103                         panic("unexpected rc (%d)\n", rc);
     103                        panic("Unexpected rc (%d).", rc);
    104104                }       
    105105        }
     
    120120
    121121        fault_if_from_uspace(istate,
    122             "%p: PHT Refill Exception at %p (%s<-%s)", badvaddr,
     122            "%p: PHT Refill Exception at %p (%s<-%s).", badvaddr,
    123123            istate->pc, symbol, sym2);
    124         panic("%p: PHT Refill Exception at %p (%s<-%s)\n", badvaddr,
     124        panic("%p: PHT Refill Exception at %p (%s<-%s).", badvaddr,
    125125            istate->pc, symbol, sym2);
    126126}
     
    315315                        return;
    316316                default:
    317                         panic("Unexpected pfrc (%d)\n", pfrc);
     317                        panic("Unexpected pfrc (%d).", pfrc);
    318318                }
    319319        }
  • kernel/arch/ppc32/src/ppc32.c

    rc571f42 rf651e80  
    9393                        break;
    9494                default:
    95                         panic("Unsupported bits per pixel");
     95                        panic("Unsupported bits per pixel.");
    9696                }
    9797                fb_properties_t prop = {
Note: See TracChangeset for help on using the changeset viewer.