2009-09-25 12:39:47 +00:00
|
|
|
#include <linux/linkage.h>
|
|
|
|
#include <asm/assembler.h>
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Function: legacy_pabort
|
|
|
|
*
|
2011-06-25 18:25:02 +00:00
|
|
|
* Params : r4 = address of aborted instruction
|
2009-09-25 12:39:47 +00:00
|
|
|
*
|
|
|
|
* Returns : r0 = address of abort
|
|
|
|
* : r1 = Simulated IFSR with section translation fault status
|
|
|
|
*
|
|
|
|
* Purpose : obtain information about current prefetch abort.
|
|
|
|
*/
|
|
|
|
|
|
|
|
.align 5
|
|
|
|
ENTRY(legacy_pabort)
|
2011-06-25 18:25:02 +00:00
|
|
|
mov r0, r4
|
2009-09-25 12:39:47 +00:00
|
|
|
mov r1, #5
|
|
|
|
mov pc, lr
|
|
|
|
ENDPROC(legacy_pabort)
|