arch/loongarch/kernel/rethook.h

Source file repositories/reference/linux-study-clean/arch/loongarch/kernel/rethook.h

File Facts

System
Linux kernel
Corpus path
arch/loongarch/kernel/rethook.h
Extension
.h
Size
266 bytes
Lines
9
Domain
Architecture Layer
Bucket
arch/loongarch
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

#ifndef __LOONGARCH_RETHOOK_H
#define __LOONGARCH_RETHOOK_H

unsigned long arch_rethook_trampoline_callback(struct pt_regs *regs);
void arch_rethook_prepare(struct rethook_node *rhn, struct pt_regs *regs, bool mcount);

#endif

Annotation

Implementation Notes