2006-09-28 19:46:16 +07:00
|
|
|
#include <linux/linkage.h>
|
|
|
|
#include <asm/assembler.h>
|
|
|
|
/*
|
|
|
|
* Function: nommu_early_abort
|
|
|
|
*
|
2011-06-26 22:01:26 +07:00
|
|
|
* Params : r2 = pt_regs
|
|
|
|
* : r4 = aborted context pc
|
2011-06-26 20:35:07 +07:00
|
|
|
* : r5 = aborted context psr
|
2006-09-28 19:46:16 +07:00
|
|
|
*
|
2011-06-26 22:01:26 +07:00
|
|
|
* Returns : r4 - r11, r13 preserved
|
2006-09-28 19:46:16 +07: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 22:01:26 +07:00
|
|
|
b do_DataAbort
|
2008-08-28 17:22:32 +07:00
|
|
|
ENDPROC(nommu_early_abort)
|