traps.h 577 B

12345678910111213141516171819202122232425
  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 ([email protected])
  6. */
  7. #ifndef _SPARC_TRAPS_H
  8. #define _SPARC_TRAPS_H
  9. #include <uapi/asm/traps.h>
  10. #ifndef __ASSEMBLY__
  11. /* This is for V8 compliant Sparc CPUS */
  12. struct tt_entry {
  13. unsigned long inst_one;
  14. unsigned long inst_two;
  15. unsigned long inst_three;
  16. unsigned long inst_four;
  17. };
  18. /* We set this to _start in system setup. */
  19. extern struct tt_entry *sparc_ttable;
  20. #endif /* !(__ASSEMBLY__) */
  21. #endif /* !(_SPARC_TRAPS_H) */