cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

ptrace_32.h (307B)


      1/* SPDX-License-Identifier: GPL-2.0 */
      2#ifndef __ASM_SH_PTRACE_32_H
      3#define __ASM_SH_PTRACE_32_H
      4
      5#include <uapi/asm/ptrace_32.h>
      6
      7
      8#define MAX_REG_OFFSET		offsetof(struct pt_regs, tra)
      9static inline long regs_return_value(struct pt_regs *regs)
     10{
     11	return regs->regs[0];
     12}
     13
     14#endif /* __ASM_SH_PTRACE_32_H */