xref: /openbmc/u-boot/arch/sandbox/include/asm/ptrace.h (revision 744d9859)
1*744d9859SSimon Glass /*
2*744d9859SSimon Glass  * Copyright (c) 2011 The Chromium OS Authors.
3*744d9859SSimon Glass  *
4*744d9859SSimon Glass  * See file CREDITS for list of people who contributed to this
5*744d9859SSimon Glass  * project.
6*744d9859SSimon Glass  *
7*744d9859SSimon Glass  * This program is free software; you can redistribute it and/or
8*744d9859SSimon Glass  * modify it under the terms of the GNU General Public License as
9*744d9859SSimon Glass  * published by the Free Software Foundation; either version 2 of
10*744d9859SSimon Glass  * the License, or (at your option) any later version.
11*744d9859SSimon Glass  *
12*744d9859SSimon Glass  * This program is distributed in the hope that it will be useful,
13*744d9859SSimon Glass  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14*744d9859SSimon Glass  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.	 See the
15*744d9859SSimon Glass  * GNU General Public License for more details.
16*744d9859SSimon Glass  *
17*744d9859SSimon Glass  * You should have received a copy of the GNU General Public License
18*744d9859SSimon Glass  * along with this program; if not, write to the Free Software
19*744d9859SSimon Glass  * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
20*744d9859SSimon Glass  * MA 02111-1307 USA
21*744d9859SSimon Glass  */
22*744d9859SSimon Glass 
23*744d9859SSimon Glass #ifndef __ASM_SANDBOX_PTRACE_H
24*744d9859SSimon Glass #define __ASM_SANDBOX_PTRACE_H
25*744d9859SSimon Glass 
26*744d9859SSimon Glass #ifndef __ASSEMBLY__
27*744d9859SSimon Glass /* This is not used in the sandbox architecture, but required by U-Boot */
28*744d9859SSimon Glass struct pt_regs {
29*744d9859SSimon Glass };
30*744d9859SSimon Glass 
31*744d9859SSimon Glass #ifdef __KERNEL__
32*744d9859SSimon Glass extern void show_regs(struct pt_regs *);
33*744d9859SSimon Glass 
34*744d9859SSimon Glass #endif
35*744d9859SSimon Glass 
36*744d9859SSimon Glass #endif /* __ASSEMBLY__ */
37*744d9859SSimon Glass 
38*744d9859SSimon Glass #endif
39