arch/hexagon/include/uapi/asm/ptrace.h

Source file repositories/reference/linux-study-clean/arch/hexagon/include/uapi/asm/ptrace.h

File Facts

System
Linux kernel
Corpus path
arch/hexagon/include/uapi/asm/ptrace.h
Extension
.h
Size
1101 bytes
Lines
33
Domain
Architecture Layer
Bucket
arch/hexagon
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 _ASM_PTRACE_H
#define _ASM_PTRACE_H

#include <asm/registers.h>

#define instruction_pointer(regs) pt_elr(regs)
#define user_stack_pointer(regs) ((regs)->r29)

#define profile_pc(regs) instruction_pointer(regs)

#endif

Annotation

Implementation Notes