Adrian Bunk | 88278ca | 2008-05-19 16:53:02 -0700 | [diff] [blame] | 1 | /* |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2 | * traps.h: Format of entries for the Sparc trap table. |
| 3 | * |
| 4 | * Copyright (C) 1995 David S. Miller (davem@caip.rutgers.edu) |
| 5 | */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 6 | #ifndef _SPARC_TRAPS_H |
| 7 | #define _SPARC_TRAPS_H |
| 8 | |
David Howells | 5457982 | 2012-10-09 09:47:43 +0100 | [diff] [blame] | 9 | #include <uapi/asm/traps.h> |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 10 | |
| 11 | #ifndef __ASSEMBLY__ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 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 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 23 | #endif /* !(__ASSEMBLY__) */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 24 | #endif /* !(_SPARC_TRAPS_H) */ |