1*913c2302SDavid Howells /* 2*913c2302SDavid Howells * OpenRISC Linux 3*913c2302SDavid Howells * 4*913c2302SDavid Howells * Linux architectural port borrowing liberally from similar works of 5*913c2302SDavid Howells * others. All original copyrights apply as per the original source 6*913c2302SDavid Howells * declaration. 7*913c2302SDavid Howells * 8*913c2302SDavid Howells * OpenRISC implementation: 9*913c2302SDavid Howells * Copyright (C) 2003 Matjaz Breskvar <phoenix@bsemi.com> 10*913c2302SDavid Howells * Copyright (C) 2010-2011 Jonas Bonn <jonas@southpole.se> 11*913c2302SDavid Howells * et al. 12*913c2302SDavid Howells * 13*913c2302SDavid Howells * This program is free software; you can redistribute it and/or modify 14*913c2302SDavid Howells * it under the terms of the GNU General Public License as published by 15*913c2302SDavid Howells * the Free Software Foundation; either version 2 of the License, or 16*913c2302SDavid Howells * (at your option) any later version. 17*913c2302SDavid Howells */ 18*913c2302SDavid Howells 19*913c2302SDavid Howells #ifndef _UAPI__ASM_OPENRISC_PTRACE_H 20*913c2302SDavid Howells #define _UAPI__ASM_OPENRISC_PTRACE_H 21*913c2302SDavid Howells 22*913c2302SDavid Howells #ifndef __ASSEMBLY__ 23*913c2302SDavid Howells /* 24*913c2302SDavid Howells * This is the layout of the regset returned by the GETREGSET ptrace call 25*913c2302SDavid Howells */ 26*913c2302SDavid Howells struct user_regs_struct { 27*913c2302SDavid Howells /* GPR R0-R31... */ 28*913c2302SDavid Howells unsigned long gpr[32]; 29*913c2302SDavid Howells unsigned long pc; 30*913c2302SDavid Howells unsigned long sr; 31*913c2302SDavid Howells }; 32*913c2302SDavid Howells #endif 33*913c2302SDavid Howells 34*913c2302SDavid Howells 35*913c2302SDavid Howells #endif /* _UAPI__ASM_OPENRISC_PTRACE_H */ 36