Changeset f4c2b6a in mainline for kernel/arch/ppc64
- Timestamp:
- 2008-06-03T14:59:48Z (18 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 2c4fb51
- Parents:
- b63f8569
- Location:
- kernel/arch/ppc64
- Files:
-
- 4 edited
-
include/exception.h (modified) (2 diffs)
-
src/cpu/cpu.c (modified) (1 diff)
-
src/interrupt.c (modified) (1 diff)
-
src/mm/page.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/ppc64/include/exception.h
rb63f8569 rf4c2b6a 83 83 istate->pc = retaddr; 84 84 } 85 85 86 /** Return true if exception happened while in userspace */ 86 87 #include <panic.h> … … 90 91 return 0; 91 92 } 93 92 94 static inline unative_t istate_get_pc(istate_t *istate) 93 95 { -
kernel/arch/ppc64/src/cpu/cpu.c
rb63f8569 rf4c2b6a 54 54 void cpu_print_report(cpu_t *m) 55 55 { 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); 57 57 } 58 58 -
kernel/arch/ppc64/src/interrupt.c
rb63f8569 rf4c2b6a 81 81 */ 82 82 #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); 84 84 #endif 85 85 } -
kernel/arch/ppc64/src/mm/page.c
rb63f8569 rf4c2b6a 290 290 { 291 291 if (last_frame + ALIGN_UP(size, PAGE_SIZE) > KA2PA(KERNEL_ADDRESS_SPACE_END_ARCH)) 292 panic("Unable to map physical memory %p (% dbytes)", physaddr, size)292 panic("Unable to map physical memory %p (%" PRIs " bytes)", physaddr, size) 293 293 294 294 uintptr_t virtaddr = PA2KA(last_frame);
Note:
See TracChangeset
for help on using the changeset viewer.
