cregit-Linux how code gets into the kernel

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

/*
 * Copyright (C) 2006 Atmark Techno, Inc.
 *
 * This file is subject to the terms and conditions of the GNU General Public
 * License. See the file "COPYING" in the main directory of this archive
 * for more details.
 */
#ifndef _ASM_MICROBLAZE_PTRACE_H

#define _ASM_MICROBLAZE_PTRACE_H

#include <uapi/asm/ptrace.h>

#ifndef __ASSEMBLY__

#define kernel_mode(regs)		((regs)->pt_mode)

#define user_mode(regs)			(!kernel_mode(regs))


#define instruction_pointer(regs)	((regs)->pc)

#define profile_pc(regs)		instruction_pointer(regs)

#define user_stack_pointer(regs)	((regs)->r1)


static inline long regs_return_value(struct pt_regs *regs) { return regs->r3; }

Contributors

PersonTokensPropCommitsCommitProp
Eric Paris17100.00%1100.00%
Total17100.00%1100.00%

#endif /* __ASSEMBLY__ */ #endif /* _ASM_MICROBLAZE_PTRACE_H */

Overall Contributors

PersonTokensPropCommitsCommitProp
Michal Simek4461.97%240.00%
Eric Paris1723.94%120.00%
Al Viro79.86%120.00%
David Howells34.23%120.00%
Total71100.00%5100.00%
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
Created with cregit.