pabort-v7.S 444 B

12345678910111213141516171819202122
  1. #include <linux/linkage.h>
  2. #include <asm/assembler.h>
  3. /*
  4. * Function: v7_pabort
  5. *
  6. * Params : r2 = pt_regs
  7. * : r4 = address of aborted instruction
  8. * : r5 = psr for parent context
  9. *
  10. * Returns : r4 - r11, r13 preserved
  11. *
  12. * Purpose : obtain information about current prefetch abort.
  13. */
  14. .align 5
  15. ENTRY(v7_pabort)
  16. mrc p15, 0, r0, c6, c0, 2 @ get IFAR
  17. mrc p15, 0, r1, c5, c0, 1 @ get IFSR
  18. b do_PrefetchAbort
  19. ENDPROC(v7_pabort)