• Home
  • Raw
  • Download

Lines Matching full:exception

8  *      Low-level exception handers, MMU support, and rewrite.
81 * critical exception prolog.
97 * Exception prolog for critical exceptions. This is a little different
98 * from the normal exception prolog above since a critical exception
99 * can potentially occur at any point during normal exception processing.
127 stw r9,_ESR(r11); /* exception was taken */\
135 lis r10, STACK_FRAME_REGS_MARKER@ha; /* exception frame marker */\
146 * now phys stack/exception frame pointer
155 * Exception vectors.
165 * 0x0100 - Critical Interrupt Exception
170 * 0x0200 - Machine Check Exception
175 * 0x0300 - Data Storage Exception
190 * 0x0400 - Instruction Storage Exception
200 /* 0x0500 - External Interrupt Exception */
201 EXCEPTION(0x0500, HardwareInterrupt, do_IRQ, EXC_XFER_LITE)
203 /* 0x0600 - Alignment Exception */
211 /* 0x0700 - Program Exception */
219 EXCEPTION(0x0800, Trap_08, unknown_exception, EXC_XFER_STD)
220 EXCEPTION(0x0900, Trap_09, unknown_exception, EXC_XFER_STD)
221 EXCEPTION(0x0A00, Trap_0A, unknown_exception, EXC_XFER_STD)
222 EXCEPTION(0x0B00, Trap_0B, unknown_exception, EXC_XFER_STD)
224 /* 0x0C00 - System Call Exception */
227 /* Trap_0D is commented out to get more space for system call exception */
229 /* EXCEPTION(0x0D00, Trap_0D, unknown_exception, EXC_XFER_STD) */
230 EXCEPTION(0x0E00, Trap_0E, unknown_exception, EXC_XFER_STD)
231 EXCEPTION(0x0F00, Trap_0F, unknown_exception, EXC_XFER_STD)
233 /* 0x1000 - Programmable Interval Timer (PIT) Exception */
237 /* 0x1010 - Fixed Interval Timer (FIT) Exception
242 /* 0x1020 - Watchdog Timer (WDT) Exception
247 /* 0x1100 - Data TLB Miss Exception
317 /* The bailout. Restore registers to pre-exception conditions
329 /* 0x1200 - Instruction TLB Miss Exception
398 /* The bailout. Restore registers to pre-exception conditions
410 EXCEPTION(0x1300, Trap_13, unknown_exception, EXC_XFER_STD)
411 EXCEPTION(0x1400, Trap_14, unknown_exception, EXC_XFER_STD)
412 EXCEPTION(0x1500, Trap_15, unknown_exception, EXC_XFER_STD)
413 EXCEPTION(0x1600, Trap_16, unknown_exception, EXC_XFER_STD)
414 EXCEPTION(0x1700, Trap_17, unknown_exception, EXC_XFER_STD)
415 EXCEPTION(0x1800, Trap_18, unknown_exception, EXC_XFER_STD)
416 EXCEPTION(0x1900, Trap_19, unknown_exception, EXC_XFER_STD)
417 EXCEPTION(0x1A00, Trap_1A, unknown_exception, EXC_XFER_STD)
418 EXCEPTION(0x1B00, Trap_1B, unknown_exception, EXC_XFER_STD)
419 EXCEPTION(0x1C00, Trap_1C, unknown_exception, EXC_XFER_STD)
420 EXCEPTION(0x1D00, Trap_1D, unknown_exception, EXC_XFER_STD)
421 EXCEPTION(0x1E00, Trap_1E, unknown_exception, EXC_XFER_STD)
422 EXCEPTION(0x1F00, Trap_1F, unknown_exception, EXC_XFER_STD)
424 /* Check for a single step debug exception while in an exception
427 * an exception (eg ITLB/DTLB miss) and thus the first instruction of
428 * the exception handler generates a single step debug exception.
430 * If we get a debug trap on the first instruction of an exception handler,
432 * a critical exception, so we are using SPRN_CSRR1 to manipulate the MSR).
433 * The exception handler was handling a non-critical interrupt, so it will
437 /* 0x2000 - Debug Exception */
442 * If this is a single step or branch-taken exception in an
443 * exception entry sequence, it was probably meant to apply to
444 * the code where the exception occurred (since exception entry
446 * of turning off DE on entry to an exception handler by turning
458 bgt+ 2f /* address above exception vectors */
460 /* here it looks like we got an inappropriate debug exception. */
478 /* continue normal handling for a critical exception... */
485 /* Programmable Interval Timer (PIT) Exception. (from 0x1000) */
489 mtspr SPRN_TSR,r0 /* Clear the PIT exception */
493 /* Fixed Interval Timer (FIT) Exception. (from 0x1010) */
499 /* Watchdog Timer (WDT) Exception. (from 0x1020) */
514 * exception space :-). Both the instruction and data TLB
589 * and change to using our exception vectors.
675 /* Establish the exception vector base