arch/riscv/include/asm/probes.h

Source file repositories/reference/linux-study-clean/arch/riscv/include/asm/probes.h

File Facts

System
Linux kernel
Corpus path
arch/riscv/include/asm/probes.h
Extension
.h
Size
563 bytes
Lines
25
Domain
Architecture Layer
Bucket
arch/riscv
Inferred role
Architecture Layer: implementation source
Status
source implementation candidate

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

struct arch_probe_insn {
	probe_opcode_t *insn;
	probes_handler_t *handler;
	/* restore address after simulation */
	unsigned long restore;
};

#ifdef CONFIG_KPROBES
typedef u32 kprobe_opcode_t;
struct arch_specific_insn {
	struct arch_probe_insn api;
};
#endif

#endif /* _ASM_RISCV_PROBES_H */

Annotation

Implementation Notes