Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 #include <linux/linkage.h>
0003 #include <asm/assembler.h>
0004 
0005 /*
0006  * Function: legacy_pabort
0007  *
0008  * Params  : r2 = pt_regs
0009  *     : r4 = address of aborted instruction
0010  *     : r5 = psr for parent context
0011  *
0012  * Returns : r4 - r11, r13 preserved
0013  *
0014  * Purpose : obtain information about current prefetch abort.
0015  */
0016 
0017     .align  5
0018 ENTRY(legacy_pabort)
0019     mov r0, r4
0020     mov r1, #5
0021     b   do_PrefetchAbort
0022 ENDPROC(legacy_pabort)