2009-09-25 20:39:47 +08:00
|
|
|
#include <linux/linkage.h>
|
|
|
|
#include <asm/assembler.h>
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Function: v6_pabort
|
|
|
|
*
|
2011-06-26 02:25:02 +08:00
|
|
|
* Params : r4 = address of aborted instruction
|
2009-09-25 20:39:47 +08:00
|
|
|
*
|
|
|
|
* Returns : r0 = address of abort
|
|
|
|
* : r1 = IFSR
|
|
|
|
*
|
|
|
|
* Purpose : obtain information about current prefetch abort.
|
|
|
|
*/
|
|
|
|
|
|
|
|
.align 5
|
|
|
|
ENTRY(v6_pabort)
|
2011-06-26 02:25:02 +08:00
|
|
|
mov r0, r4
|
2009-09-25 20:39:47 +08:00
|
|
|
mrc p15, 0, r1, c5, c0, 1 @ get IFSR
|
|
|
|
mov pc, lr
|
|
|
|
ENDPROC(v6_pabort)
|