arch/sh/include/asm/ptrace_32.h

Source file repositories/reference/linux-study-clean/arch/sh/include/asm/ptrace_32.h

File Facts

System
Linux kernel
Corpus path
arch/sh/include/asm/ptrace_32.h
Extension
.h
Size
307 bytes
Lines
15
Domain
Architecture Layer
Bucket
arch/sh
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_SH_PTRACE_32_H
#define __ASM_SH_PTRACE_32_H

#include <uapi/asm/ptrace_32.h>


#define MAX_REG_OFFSET		offsetof(struct pt_regs, tra)
static inline long regs_return_value(struct pt_regs *regs)
{
	return regs->regs[0];
}

#endif /* __ASM_SH_PTRACE_32_H */

Annotation

Implementation Notes