cregit-Linux how code gets into the kernel

Release 4.14 arch/parisc/include/asm/ptrace.h

/* SPDX-License-Identifier: GPL-2.0 */
/* written by Philipp Rumpf, Copyright (C) 1999 SuSE GmbH Nuernberg
** Copyright (C) 2000 Grant Grundler, Hewlett-Packard
*/
#ifndef _PARISC_PTRACE_H

#define _PARISC_PTRACE_H

#include <uapi/asm/ptrace.h>



#define task_regs(task) ((struct pt_regs *) ((char *)(task) + TASK_REGS))


#define arch_has_single_step()	1

#define arch_has_block_step()	1

/* XXX should we use iaoq[1] or iaoq[0] ? */

#define user_mode(regs)			(((regs)->iaoq[0] & 3) ? 1 : 0)

#define user_space(regs)		(((regs)->iasq[1] != 0) ? 1 : 0)

#define instruction_pointer(regs)	((regs)->iaoq[0] & ~3)

#define user_stack_pointer(regs)	((regs)->gr[30])
unsigned long profile_pc(struct pt_regs *);


static inline unsigned long regs_return_value(struct pt_regs *regs) { return regs->gr[20]; }

Contributors

PersonTokensPropCommitsCommitProp
Helge Deller21100.00%1100.00%
Total21100.00%1100.00%

#endif

Overall Contributors

PersonTokensPropCommitsCommitProp
Helge Deller3134.83%218.18%
Linus Torvalds (pre-git)2426.97%19.09%
Matthew Wilcox88.99%218.18%
Kyle McMartin77.87%19.09%
Adrian Bunk77.87%19.09%
Randolph Chung66.74%19.09%
William Lee Irwin III33.37%19.09%
David Howells22.25%19.09%
Greg Kroah-Hartman11.12%19.09%
Total89100.00%11100.00%
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
Created with cregit.