- Main Page
- Related Pages
- Data Structures
- Files

- File List
- Globals

# arch/avr32/exception.c

Go to the documentation of this file.

    00001
    00041 #include <compiler.h>
    00042 #include <debug.h>
    00043 #include <types.h>
    00044
    00058 void __weak do_unknown_exception(unsigned int cause, uint32_t *regs)
    00059 {
    00060         dbg_panic("Unhandled exception %u\n", cause);
    00061         dbg_panic(" sr: %08x  pc: %08x  lr: %08x  sp: %08x r12: %08x\n",
    00062                         regs[15], regs[16], regs[0], regs[1], regs[2]);
    00063         dbg_panic("r11: %08x r10: %08x  r9: %08x  r8: %08x\n",
    00064                         regs[3], regs[4], regs[5], regs[6]);
    00065         dbg_panic(" r7: %08x  r6: %08x  r5: %08x  r4: %08x\n",
    00066                         regs[7], regs[8], regs[9], regs[10]);
    00067         dbg_panic(" r3: %08x  r2: %08x  r1: %08x  r0: %08x\n",
    00068                         regs[11], regs[12], regs[13], regs[14]);
    00069 }