1 /* SPDX-License-Identifier: GPL-2.0 */ 1 2 /* 3 * Copyright (C) 2006 Atmark Techno, Inc. 4 */ 5 #ifndef _ASM_MICROBLAZE_PTRACE_H 6 #define _ASM_MICROBLAZE_PTRACE_H 7 8 #include <uapi/asm/ptrace.h> 9 10 #ifndef __ASSEMBLY__ 11 #define kernel_mode(regs) ((regs 12 #define user_mode(regs) (!kern 13 14 #define instruction_pointer(regs) ((regs 15 #define profile_pc(regs) instru 16 #define user_stack_pointer(regs) ((regs 17 18 static inline long regs_return_value(struct pt 19 { 20 return regs->r3; 21 } 22 23 #endif /* __ASSEMBLY__ */ 24 #endif /* _ASM_MICROBLAZE_PTRACE_H */ 25
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.