traps.h 538 B

123456789101112131415161718192021222324
  1. /*
  2. * traps.h: Format of entries for the Sparc trap table.
  3. *
  4. * Copyright (C) 1995 David S. Miller ([email protected])
  5. */
  6. #ifndef _SPARC_TRAPS_H
  7. #define _SPARC_TRAPS_H
  8. #include <uapi/asm/traps.h>
  9. #ifndef __ASSEMBLY__
  10. /* This is for V8 compliant Sparc CPUS */
  11. struct tt_entry {
  12. unsigned long inst_one;
  13. unsigned long inst_two;
  14. unsigned long inst_three;
  15. unsigned long inst_four;
  16. };
  17. /* We set this to _start in system setup. */
  18. extern struct tt_entry *sparc_ttable;
  19. #endif /* !(__ASSEMBLY__) */
  20. #endif /* !(_SPARC_TRAPS_H) */