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