Linux Audio

Check our new training course

Loading...
v6.13.7
 1/* SPDX-License-Identifier: GPL-2.0 */
 2#include <linux/linkage.h>
 3#include <asm/assembler.h>
 4/*
 5 * Function: v7_early_abort
 6 *
 7 * Params  : r2 = pt_regs
 8 *	   : r4 = aborted context pc
 9 *	   : r5 = aborted context psr
10 *
11 * Returns : r4 - r11, r13 preserved
12 *
13 * Purpose : obtain information about current aborted instruction.
14 */
15	.arch	armv7-a
16	.align	5
17ENTRY(v7_early_abort)
18	mrc	p15, 0, r1, c5, c0, 0		@ get FSR
19	mrc	p15, 0, r0, c6, c0, 0		@ get FAR
20	uaccess_disable ip			@ disable userspace access
21	b	do_DataAbort
22ENDPROC(v7_early_abort)
v5.14.15
 1/* SPDX-License-Identifier: GPL-2.0 */
 2#include <linux/linkage.h>
 3#include <asm/assembler.h>
 4/*
 5 * Function: v7_early_abort
 6 *
 7 * Params  : r2 = pt_regs
 8 *	   : r4 = aborted context pc
 9 *	   : r5 = aborted context psr
10 *
11 * Returns : r4 - r11, r13 preserved
12 *
13 * Purpose : obtain information about current aborted instruction.
14 */
 
15	.align	5
16ENTRY(v7_early_abort)
17	mrc	p15, 0, r1, c5, c0, 0		@ get FSR
18	mrc	p15, 0, r0, c6, c0, 0		@ get FAR
19	uaccess_disable ip			@ disable userspace access
20	b	do_DataAbort
21ENDPROC(v7_early_abort)