Changes in kernel/arch/arm32/src/exception.c [22a28a69:214ec25c] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/arm32/src/exception.c
r22a28a69 r214ec25c 37 37 #include <arch/memstr.h> 38 38 #include <arch/regutils.h> 39 #include <arch/machine_func.h>40 39 #include <interrupt.h> 41 40 #include <arch/mm/page_fault.h> … … 44 43 #include <syscall/syscall.h> 45 44 #include <stacktrace.h> 45 46 #ifdef MACHINE_testarm 47 #include <arch/mach/testarm/testarm.h> 48 #endif 49 50 #ifdef MACHINE_integratorcp 51 #include <arch/mach/integratorcp/integratorcp.h> 52 #endif 46 53 47 54 /** Offset used in calculation of exception handler's relative address. … … 173 180 * @param istate Structure to be printed. 174 181 */ 175 void istate_decode(istate_t *istate) 176 { 177 printf("r0 =%#0.8lx\tr1 =%#0.8lx\tr2 =%#0.8lx\tr3 =%#0.8lx\n", 182 void print_istate(istate_t *istate) 183 { 184 printf("istate dump:\n"); 185 186 printf(" r0: %x r1: %x r2: %x r3: %x\n", 178 187 istate->r0, istate->r1, istate->r2, istate->r3); 179 printf(" r4 =%#0.8lx\tr5 =%#0.8lx\tr6 =%#0.8lx\tr7 =%#0.8lx\n",188 printf(" r4: %x r5: %x r6: %x r7: %x\n", 180 189 istate->r4, istate->r5, istate->r6, istate->r7); 181 printf(" r8 =%#0.8lx\tr9 =%#0.8lx\tr10=%#0.8lx\tfp =%#0.8lx\n",190 printf(" r8: %x r8: %x r10: %x fp: %x\n", 182 191 istate->r8, istate->r9, istate->r10, istate->fp); 183 printf(" r12=%#0.8lx\tsp =%#0.8lx\tlr =%#0.8lx\tspsr=%#0.8lx\n",192 printf(" r12: %x sp: %x lr: %x spsr: %x\n", 184 193 istate->r12, istate->sp, istate->lr, istate->spsr); 194 195 printf(" pc: %x\n", istate->pc); 196 197 stack_trace_istate(istate); 185 198 } 186 199
Note:
See TracChangeset
for help on using the changeset viewer.