arch/arm/mm/pabort-legacy.S

Source file repositories/reference/linux-study-clean/arch/arm/mm/pabort-legacy.S

File Facts

System
Linux kernel
Corpus path
arch/arm/mm/pabort-legacy.S
Extension
.S
Size
441 bytes
Lines
23
Domain
Architecture Layer
Bucket
arch/arm
Inferred role
Architecture Layer: arch/arm
Status
atlas-only

Why This File Exists

CPU and platform-specific kernel glue: boot entry, traps, syscall entry, interrupts, page tables, context switch, and low-level barriers.

Dependency Surface

Detected Declarations

Annotated Snippet

#include <linux/linkage.h>
#include <asm/assembler.h>

/*
 * Function: legacy_pabort
 *
 * Params  : r2 = pt_regs
 *	   : r4 = address of aborted instruction
 *	   : r5 = psr for parent context
 *
 * Returns : r4 - r11, r13 preserved
 *
 * Purpose : obtain information about current prefetch abort.
 */

	.align	5
ENTRY(legacy_pabort)
	mov	r0, r4
	mov	r1, #5
	b	do_PrefetchAbort
ENDPROC(legacy_pabort)

Annotation

Implementation Notes