~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/arch/hexagon/include/uapi/asm/ptrace.h

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.9 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /arch/hexagon/include/uapi/asm/ptrace.h (Architecture i386) and /arch/m68k/include/uapi/asm/ptrace.h (Architecture m68k)


  1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux      1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
                                                   >>   2 #ifndef _UAPI_M68K_PTRACE_H
                                                   >>   3 #define _UAPI_M68K_PTRACE_H
                                                   >>   4 
                                                   >>   5 #define PT_D1      0
                                                   >>   6 #define PT_D2      1
                                                   >>   7 #define PT_D3      2
                                                   >>   8 #define PT_D4      3
                                                   >>   9 #define PT_D5      4
                                                   >>  10 #define PT_D6      5
                                                   >>  11 #define PT_D7      6
                                                   >>  12 #define PT_A0      7
                                                   >>  13 #define PT_A1      8
                                                   >>  14 #define PT_A2      9
                                                   >>  15 #define PT_A3      10
                                                   >>  16 #define PT_A4      11
                                                   >>  17 #define PT_A5      12
                                                   >>  18 #define PT_A6      13
                                                   >>  19 #define PT_D0      14
                                                   >>  20 #define PT_USP     15
                                                   >>  21 #define PT_ORIG_D0 16
                                                   >>  22 #define PT_SR      17
                                                   >>  23 #define PT_PC      18
                                                   >>  24 
                                                   >>  25 #ifndef __ASSEMBLY__
                                                   >>  26 
                                                   >>  27 /* this struct defines the way the registers are stored on the
                                                   >>  28    stack during a system call. */
                                                   >>  29 
                                                   >>  30 struct pt_regs {
                                                   >>  31   long     d1;
                                                   >>  32   long     d2;
                                                   >>  33   long     d3;
                                                   >>  34   long     d4;
                                                   >>  35   long     d5;
                                                   >>  36   long     a0;
                                                   >>  37   long     a1;
                                                   >>  38   long     a2;
                                                   >>  39   long     d0;
                                                   >>  40   long     orig_d0;
                                                   >>  41   long     stkadj;
                                                   >>  42 #ifdef __mcoldfire__
                                                   >>  43   unsigned format :  4; /* frame format specifier */
                                                   >>  44   unsigned vector : 12; /* vector offset */
                                                   >>  45   unsigned short sr;
                                                   >>  46   unsigned long  pc;
                                                   >>  47 #else
                                                   >>  48   unsigned short sr;
                                                   >>  49   unsigned long  pc;
                                                   >>  50   unsigned format :  4; /* frame format specifier */
                                                   >>  51   unsigned vector : 12; /* vector offset */
                                                   >>  52 #endif
                                                   >>  53 };
                                                   >>  54 
  2 /*                                                 55 /*
  3  * Ptrace definitions for the Hexagon architec !!  56  * This is the extended stack used by signal handlers and the context
  4  *                                             !!  57  * switcher: it's pushed after the normal "struct pt_regs".
  5  * Copyright (c) 2010-2011, The Linux Foundati << 
  6  *                                             << 
  7  * This program is free software; you can redi << 
  8  * it under the terms of the GNU General Publi << 
  9  * only version 2 as published by the Free Sof << 
 10  *                                             << 
 11  * This program is distributed in the hope tha << 
 12  * but WITHOUT ANY WARRANTY; without even the  << 
 13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR << 
 14  * GNU General Public License for more details << 
 15  *                                             << 
 16  * You should have received a copy of the GNU  << 
 17  * along with this program; if not, write to t << 
 18  * Foundation, Inc., 51 Franklin Street, Fifth << 
 19  * 02110-1301, USA.                            << 
 20  */                                                58  */
                                                   >>  59 struct switch_stack {
                                                   >>  60         unsigned long  d6;
                                                   >>  61         unsigned long  d7;
                                                   >>  62         unsigned long  a3;
                                                   >>  63         unsigned long  a4;
                                                   >>  64         unsigned long  a5;
                                                   >>  65         unsigned long  a6;
                                                   >>  66         unsigned long  retpc;
                                                   >>  67 };
 21                                                    68 
 22 #ifndef _ASM_PTRACE_H                          !!  69 /* Arbitrarily choose the same ptrace numbers as used by the Sparc code. */
 23 #define _ASM_PTRACE_H                          !!  70 #define PTRACE_GETREGS            12
                                                   >>  71 #define PTRACE_SETREGS            13
                                                   >>  72 #define PTRACE_GETFPREGS          14
                                                   >>  73 #define PTRACE_SETFPREGS          15
 24                                                    74 
 25 #include <asm/registers.h>                     !!  75 #define PTRACE_GET_THREAD_AREA    25
 26                                                    76 
 27 #define instruction_pointer(regs) pt_elr(regs) !!  77 #define PTRACE_GETFDPIC 31
 28 #define user_stack_pointer(regs) ((regs)->r29) << 
 29                                                    78 
 30 #define profile_pc(regs) instruction_pointer(r !!  79 #define PTRACE_SINGLEBLOCK      33      /* resume execution until next branch */
 31                                                    80 
 32 #endif                                         !!  81 #define PTRACE_GETFDPIC_EXEC    0
                                                   >>  82 #define PTRACE_GETFDPIC_INTERP  1
                                                   >>  83 
                                                   >>  84 #endif /* __ASSEMBLY__ */
                                                   >>  85 #endif /* _UAPI_M68K_PTRACE_H */
 33                                                    86 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php