Changeset e3038b4 in mainline for kernel/arch/ppc32
- Timestamp:
- 2010-06-28T22:45:51Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 49eb681
- Parents:
- 05e3cb8 (diff), e4a4b44 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - Location:
- kernel/arch/ppc32
- Files:
-
- 1 deleted
- 4 edited
-
Makefile.inc (modified) (1 diff)
-
include/types.h (modified) (1 diff)
-
src/debug/panic.s (deleted)
-
src/interrupt.c (modified) (1 diff)
-
src/mm/tlb.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/ppc32/Makefile.inc
r05e3cb8 re3038b4 40 40 ARCH_SOURCES = \ 41 41 arch/$(KARCH)/src/context.S \ 42 arch/$(KARCH)/src/debug/panic.s \43 42 arch/$(KARCH)/src/debug/stacktrace.c \ 44 43 arch/$(KARCH)/src/debug/stacktrace_asm.S \ -
kernel/arch/ppc32/include/types.h
r05e3cb8 re3038b4 50 50 } fncptr_t; 51 51 52 /** <Formats for uintptr_t, size_t */52 /** Formats for uintptr_t, size_t */ 53 53 #define PRIp "x" 54 54 #define PRIs "u" 55 55 56 /** <Formats for (u)int8_t, (u)int16_t, (u)int32_t, (u)int64_t and (u)native_t */56 /** Formats for (u)int8_t, (u)int16_t, (u)int32_t, (u)int64_t and (u)native_t */ 57 57 #define PRId8 "d" 58 58 #define PRId16 "d" -
kernel/arch/ppc32/src/interrupt.c
r05e3cb8 re3038b4 50 50 :: [dec] "r" (1000) 51 51 ); 52 } 53 54 void istate_decode(istate_t *istate) 55 { 56 printf("r0 =%p\tr1 =%p\tr2 =%p\n", istate->r0, istate->sp, istate->r2); 57 printf("r3 =%p\tr4 =%p\tr5 =%p\n", istate->r3, istate->r4, istate->r5); 58 printf("r6 =%p\tr7 =%p\tr8 =%p\n", istate->r6, istate->r7, istate->r8); 59 printf("r9 =%p\tr10=%p\tr11=%p\n", 60 istate->r9, istate->r10, istate->r11); 61 printf("r12=%p\tr13=%p\tr14=%p\n", 62 istate->r12, istate->r13, istate->r14); 63 printf("r15=%p\tr16=%p\tr17=%p\n", 64 istate->r15, istate->r16, istate->r17); 65 printf("r18=%p\tr19=%p\tr20=%p\n", 66 istate->r18, istate->r19, istate->r20); 67 printf("r21=%p\tr22=%p\tr23=%p\n", 68 istate->r21, istate->r22, istate->r23); 69 printf("r24=%p\tr25=%p\tr26=%p\n", 70 istate->r24, istate->r25, istate->r26); 71 printf("r27=%p\tr28=%p\tr29=%p\n", 72 istate->r27, istate->r28, istate->r29); 73 printf("r30=%p\tr31=%p\n", istate->r30, istate->r31); 74 printf("cr =%p\tpc =%p\tlr =%p\n", istate->cr, istate->pc, istate->lr); 75 printf("ctr=%p\txer=%p\tdar=%p\n", 76 istate->ctr, istate->xer, istate->dar); 77 printf("srr1=%p\n", istate->srr1); 52 78 } 53 79 -
kernel/arch/ppc32/src/mm/tlb.c
r05e3cb8 re3038b4 111 111 static void pht_refill_fail(uintptr_t badvaddr, istate_t *istate) 112 112 { 113 const char *symbol = symtab_fmt_name_lookup(istate->pc); 114 const char *sym2 = symtab_fmt_name_lookup(istate->lr); 115 116 fault_if_from_uspace(istate, 117 "PHT Refill Exception on %p.", badvaddr); 118 panic("%p: PHT Refill Exception at %p (%s<-%s).", badvaddr, 119 istate->pc, symbol, sym2); 113 fault_if_from_uspace(istate, "PHT Refill Exception on %p.", badvaddr); 114 panic_memtrap(istate, PF_ACCESS_READ, badvaddr, 115 "PHT Refill Exception."); 120 116 } 121 117
Note:
See TracChangeset
for help on using the changeset viewer.
