pabort-v7.S 483 B

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