2009-09-25 12:39:47 +00:00
|
|
|
#include <linux/linkage.h>
|
|
|
|
#include <asm/assembler.h>
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Function: v6_pabort
|
|
|
|
*
|
2011-06-26 11:37:35 +00:00
|
|
|
* Params : r2 = pt_regs
|
|
|
|
* : r4 = address of aborted instruction
|
|
|
|
* : r5 = psr for parent context
|
2009-09-25 12:39:47 +00:00
|
|
|
*
|
2011-06-26 11:37:35 +00:00
|
|
|
* Returns : r4 - r11, r13 preserved
|
2009-09-25 12:39:47 +00:00
|
|
|
*
|
|
|
|
* Purpose : obtain information about current prefetch abort.
|
|
|
|
*/
|
|
|
|
|
|
|
|
.align 5
|
|
|
|
ENTRY(v6_pabort)
|
2011-06-25 18:25:02 +00:00
|
|
|
mov r0, r4
|
2009-09-25 12:39:47 +00:00
|
|
|
mrc p15, 0, r1, c5, c0, 1 @ get IFSR
|
2011-06-26 11:37:35 +00:00
|
|
|
b do_PrefetchAbort
|
2009-09-25 12:39:47 +00:00
|
|
|
ENDPROC(v6_pabort)
|