Commit | Line | Data |
---|---|---|
88278ca2 | 1 | /* |
1da177e4 LT |
2 | * traps.h: Format of entries for the Sparc trap table. |
3 | * | |
4 | * Copyright (C) 1995 David S. Miller (davem@caip.rutgers.edu) | |
5 | */ | |
1da177e4 LT |
6 | #ifndef _SPARC_TRAPS_H |
7 | #define _SPARC_TRAPS_H | |
8 | ||
54579826 | 9 | #include <uapi/asm/traps.h> |
1da177e4 LT |
10 | |
11 | #ifndef __ASSEMBLY__ | |
1da177e4 LT |
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 | ||
1da177e4 | 23 | #endif /* !(__ASSEMBLY__) */ |
1da177e4 | 24 | #endif /* !(_SPARC_TRAPS_H) */ |