mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 19:11:53 +00:00

Modifying a generic header like watchdog.h, removing not directly used asm/ptrace.h header relies on whoever includes it to already have included something that defines the type ulong. Make the asm/ptrace.h header self-contained by including the proper header. Signed-off-by: Rasmus Villemoes <ravi@prevas.dk> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Stefan Roese <sr@denx.de>
43 lines
709 B
C
43 lines
709 B
C
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
|
|
#ifndef _M68K_PTRACE_H
|
|
#define _M68K_PTRACE_H
|
|
|
|
/*
|
|
* This struct defines the way the registers are stored on the
|
|
* kernel stack during an exception.
|
|
*/
|
|
#ifndef __ASSEMBLY__
|
|
|
|
#include <linux/types.h>
|
|
|
|
struct pt_regs {
|
|
ulong d0;
|
|
ulong d1;
|
|
ulong d2;
|
|
ulong d3;
|
|
ulong d4;
|
|
ulong d5;
|
|
ulong d6;
|
|
ulong d7;
|
|
ulong a0;
|
|
ulong a1;
|
|
ulong a2;
|
|
ulong a3;
|
|
ulong a4;
|
|
ulong a5;
|
|
ulong a6;
|
|
#if defined(__M68K__)
|
|
unsigned format:4; /* frame format specifier */
|
|
unsigned vector:12; /* vector offset */
|
|
unsigned short sr;
|
|
unsigned long pc;
|
|
#else
|
|
unsigned short sr;
|
|
unsigned long pc;
|
|
#endif
|
|
};
|
|
|
|
#endif /* #ifndef __ASSEMBLY__ */
|
|
|
|
#endif /* #ifndef _M68K_PTRACE_H */
|