arch/csky/kernel/probes/kprobes_trampoline.S

Source file repositories/reference/linux-study-clean/arch/csky/kernel/probes/kprobes_trampoline.S

File Facts

System
Linux kernel
Corpus path
arch/csky/kernel/probes/kprobes_trampoline.S
Extension
.S
Size
316 bytes
Lines
20
Domain
Architecture Layer
Bucket
arch/csky
Inferred role
Architecture Layer: arch/csky
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 <abi/entry.h>

ENTRY(__kretprobe_trampoline)
	SAVE_REGS_FTRACE

	mov	a0, sp /* pt_regs */

	jbsr	trampoline_probe_handler

	/* use the result as the return-address */
	mov	lr, a0

	RESTORE_REGS_FTRACE
	rts
ENDPROC(__kretprobe_trampoline)

Annotation

Implementation Notes