2006-09-28 14:46:16 +02:00
|
|
|
#include <linux/linkage.h>
|
|
|
|
#include <asm/assembler.h>
|
|
|
|
/*
|
|
|
|
* Function: nommu_early_abort
|
|
|
|
*
|
2011-06-26 17:01:26 +02:00
|
|
|
* Params : r2 = pt_regs
|
|
|
|
* : r4 = aborted context pc
|
2011-06-26 15:35:07 +02:00
|
|
|
* : r5 = aborted context psr
|
2006-09-28 14:46:16 +02:00
|
|
|
*
|
2011-06-26 17:01:26 +02:00
|
|
|
* Returns : r4 - r11, r13 preserved
|
2006-09-28 14:46:16 +02:00
|
|
|
*
|
|
|
|
* Note: There is no FSR/FAR on !CPU_CP15_MMU cores.
|
|
|
|
* Just fill zero into the registers.
|
|
|
|
*/
|
|
|
|
.align 5
|
|
|
|
ENTRY(nommu_early_abort)
|
|
|
|
mov r0, #0 @ clear r0, r1 (no FSR/FAR)
|
|
|
|
mov r1, #0
|
2011-06-26 17:01:26 +02:00
|
|
|
b do_DataAbort
|
2008-08-28 12:22:32 +02:00
|
|
|
ENDPROC(nommu_early_abort)
|