xref: /linux/arch/sparc/include/asm/traps.h (revision 4b132aacb0768ac1e652cf517097ea6f237214b9)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  * traps.h:  Format of entries for the Sparc trap table.
4  *
5  * Copyright (C) 1995 David S. Miller (davem@caip.rutgers.edu)
6  */
7 #ifndef _SPARC_TRAPS_H
8 #define _SPARC_TRAPS_H
9 
10 #include <uapi/asm/traps.h>
11 
12 #ifndef __ASSEMBLY__
13 /* This is for V8 compliant Sparc CPUS */
14 struct tt_entry {
15 	unsigned long inst_one;
16 	unsigned long inst_two;
17 	unsigned long inst_three;
18 	unsigned long inst_four;
19 };
20 
21 /* We set this to _start in system setup. */
22 extern struct tt_entry *sparc_ttable;
23 
24 #endif /* !(__ASSEMBLY__) */
25 #endif /* !(_SPARC_TRAPS_H) */
26