abi.h 853 B

123456789101112131415161718192021222324252627282930313233
  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 <linux/signal_types.h>
  12. #include <asm/signal.h>
  13. #include <asm/siginfo.h>
  14. #include <asm/vdso.h>
  15. struct mips_abi {
  16. int (* const setup_frame)(void *sig_return, struct ksignal *ksig,
  17. struct pt_regs *regs, sigset_t *set);
  18. int (* const setup_rt_frame)(void *sig_return, struct ksignal *ksig,
  19. struct pt_regs *regs, sigset_t *set);
  20. const unsigned long restart;
  21. unsigned off_sc_fpregs;
  22. unsigned off_sc_fpc_csr;
  23. unsigned off_sc_used_math;
  24. struct mips_vdso_image *vdso;
  25. };
  26. #endif /* _ASM_ABI_H */