ptrace_64.h 273 字节
Newer Older
1 2 3
#ifndef __ASM_SH_PTRACE_64_H
#define __ASM_SH_PTRACE_64_H

4
#include <uapi/asm/ptrace_64.h>
5 6 7


#define MAX_REG_OFFSET		offsetof(struct pt_regs, tregs[7])
8 9 10 11
static inline long regs_return_value(struct pt_regs *regs)
{
	return regs->regs[3];
}
12 13

#endif /* __ASM_SH_PTRACE_64_H */