b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame^] | 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) */ |