abi.h 905 B

123456789101112131415161718192021222324252627
  1. /*
  2. * This file is subject to the terms and conditions of the GNU General Public
  3. * License. See the file "COPYING" in the main directory of this archive
  4. * for more details.
  5. *
  6. * Copyright (C) 2005, 06 by Ralf Baechle (ralf@linux-mips.org)
  7. * Copyright (C) 2005 MIPS Technologies, Inc.
  8. */
  9. #ifndef _ASM_ABI_H
  10. #define _ASM_ABI_H
  11. #include <asm/signal.h>
  12. #include <asm/siginfo.h>
  13. struct mips_abi {
  14. int (* const setup_frame)(void *sig_return, struct k_sigaction *ka,
  15. struct pt_regs *regs, int signr,
  16. sigset_t *set);
  17. const unsigned long signal_return_offset;
  18. int (* const setup_rt_frame)(void *sig_return, struct k_sigaction *ka,
  19. struct pt_regs *regs, int signr,
  20. sigset_t *set, siginfo_t *info);
  21. const unsigned long rt_signal_return_offset;
  22. const unsigned long restart;
  23. };
  24. #endif /* _ASM_ABI_H */