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