xref: /OK3568_Linux_fs/u-boot/arch/sandbox/include/asm/ptrace.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun /*
2*4882a593Smuzhiyun  * Copyright (c) 2011 The Chromium OS Authors.
3*4882a593Smuzhiyun  *
4*4882a593Smuzhiyun  * SPDX-License-Identifier:	GPL-2.0+
5*4882a593Smuzhiyun  */
6*4882a593Smuzhiyun 
7*4882a593Smuzhiyun #ifndef __ASM_SANDBOX_PTRACE_H
8*4882a593Smuzhiyun #define __ASM_SANDBOX_PTRACE_H
9*4882a593Smuzhiyun 
10*4882a593Smuzhiyun #ifndef __ASSEMBLY__
11*4882a593Smuzhiyun /* This is not used in the sandbox architecture, but required by U-Boot */
12*4882a593Smuzhiyun struct pt_regs {
13*4882a593Smuzhiyun };
14*4882a593Smuzhiyun 
15*4882a593Smuzhiyun #ifdef __KERNEL__
16*4882a593Smuzhiyun extern void show_regs(struct pt_regs *);
17*4882a593Smuzhiyun 
18*4882a593Smuzhiyun #endif
19*4882a593Smuzhiyun 
20*4882a593Smuzhiyun #endif /* __ASSEMBLY__ */
21*4882a593Smuzhiyun 
22*4882a593Smuzhiyun #endif
23