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