Changeset f4c2b6a in mainline for kernel/arch/ppc64/src


Ignore:
Timestamp:
2008-06-03T14:59:48Z (18 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
2c4fb51
Parents:
b63f8569
Message:

reflect changes in generic code
proper formatting directives
coding style

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

Legend:

Unmodified
Added
Removed
  • kernel/arch/ppc64/src/cpu/cpu.c

    rb63f8569 rf4c2b6a  
    5454void cpu_print_report(cpu_t *m)
    5555{
    56         printf("cpu%d: version=%d, revision=%d\n", m->id, m->arch.version, m->arch.revision);
     56        printf("cpu%u: version=%d, revision=%d\n", m->id, m->arch.version, m->arch.revision);
    5757}
    5858
  • kernel/arch/ppc64/src/interrupt.c

    rb63f8569 rf4c2b6a  
    8181                         */
    8282#ifdef CONFIG_DEBUG
    83                         printf("cpu%d: spurious interrupt (inum=%d)\n", CPU->id, inum);
     83                        printf("cpu%u: spurious interrupt (inum=%d)\n", CPU->id, inum);
    8484#endif
    8585                }
  • kernel/arch/ppc64/src/mm/page.c

    rb63f8569 rf4c2b6a  
    290290{
    291291        if (last_frame + ALIGN_UP(size, PAGE_SIZE) > KA2PA(KERNEL_ADDRESS_SPACE_END_ARCH))
    292                 panic("Unable to map physical memory %p (%d bytes)", physaddr, size)
     292                panic("Unable to map physical memory %p (%" PRIs " bytes)", physaddr, size)
    293293       
    294294        uintptr_t virtaddr = PA2KA(last_frame);
Note: See TracChangeset for help on using the changeset viewer.