Hyok S. Choi | 0f45d7f | 2006-09-28 21:46:16 +0900 | [diff] [blame] | 1 | #include <linux/linkage.h> |
| 2 | #include <asm/assembler.h> |
| 3 | /* |
| 4 | * Function: nommu_early_abort |
| 5 | * |
Russell King | da74047 | 2011-06-26 16:01:26 +0100 | [diff] [blame] | 6 | * Params : r2 = pt_regs |
| 7 | * : r4 = aborted context pc |
Russell King | 3e287be | 2011-06-26 14:35:07 +0100 | [diff] [blame] | 8 | * : r5 = aborted context psr |
Hyok S. Choi | 0f45d7f | 2006-09-28 21:46:16 +0900 | [diff] [blame] | 9 | * |
Russell King | da74047 | 2011-06-26 16:01:26 +0100 | [diff] [blame] | 10 | * Returns : r4 - r11, r13 preserved |
Hyok S. Choi | 0f45d7f | 2006-09-28 21:46:16 +0900 | [diff] [blame] | 11 | * |
| 12 | * Note: There is no FSR/FAR on !CPU_CP15_MMU cores. |
| 13 | * Just fill zero into the registers. |
| 14 | */ |
| 15 | .align 5 |
| 16 | ENTRY(nommu_early_abort) |
| 17 | mov r0, #0 @ clear r0, r1 (no FSR/FAR) |
| 18 | mov r1, #0 |
Russell King | da74047 | 2011-06-26 16:01:26 +0100 | [diff] [blame] | 19 | b do_DataAbort |
Catalin Marinas | 93ed397 | 2008-08-28 11:22:32 +0100 | [diff] [blame] | 20 | ENDPROC(nommu_early_abort) |