]> git.ipfire.org Git - thirdparty/u-boot.git/blame - arch/m68k/include/asm/ptrace.h
SPDX: Convert all of our single license tags to Linux Kernel style
[thirdparty/u-boot.git] / arch / m68k / include / asm / ptrace.h
CommitLineData
83d290c5 1/* SPDX-License-Identifier: GPL-2.0+ */
4e5ca3eb 2
bf9e3b38
WD
3#ifndef _M68K_PTRACE_H
4#define _M68K_PTRACE_H
4e5ca3eb
WD
5
6/*
bf9e3b38
WD
7 * This struct defines the way the registers are stored on the
8 * kernel stack during an exception.
4e5ca3eb 9 */
bf9e3b38 10#ifndef __ASSEMBLY__
4e5ca3eb 11
bf9e3b38 12struct pt_regs {
8e585f02
TL
13 ulong d0;
14 ulong d1;
15 ulong d2;
16 ulong d3;
17 ulong d4;
18 ulong d5;
19 ulong d6;
20 ulong d7;
21 ulong a0;
22 ulong a1;
23 ulong a2;
24 ulong a3;
25 ulong a4;
26 ulong a5;
27 ulong a6;
28#if defined(__M68K__)
29 unsigned format:4; /* frame format specifier */
30 unsigned vector:12; /* vector offset */
bf9e3b38 31 unsigned short sr;
8e585f02 32 unsigned long pc;
bf9e3b38
WD
33#else
34 unsigned short sr;
8e585f02 35 unsigned long pc;
4e5ca3eb 36#endif
bf9e3b38 37};
4e5ca3eb 38
8e585f02 39#endif /* #ifndef __ASSEMBLY__ */
4e5ca3eb 40
8e585f02 41#endif /* #ifndef _M68K_PTRACE_H */