ucontext-internal.h 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. /* Copyright (C) 2009-2019 Free Software Foundation, Inc.
  2. This file is part of the GNU C Library.
  3. The GNU C Library is free software; you can redistribute it and/or
  4. modify it under the terms of the GNU Lesser General Public License as
  5. published by the Free Software Foundation; either version 2.1 of the
  6. License, or (at your option) any later version.
  7. The GNU C Library is distributed in the hope that it will be useful,
  8. but WITHOUT ANY WARRANTY; without even the implied warranty of
  9. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  10. Lesser General Public License for more details.
  11. You should have received a copy of the GNU Lesser General Public
  12. License along with the GNU C Library; if not, see
  13. <http://www.gnu.org/licenses/>. */
  14. #define SP_ALIGN_SIZE 15
  15. #define SP_ALIGN_MASK ~15
  16. /* Size of an X regiser in bytes. */
  17. #define SZREG 8
  18. /* Size of a V register in bytes. */
  19. #define SZVREG 16
  20. /* Number of integer parameter passing registers. */
  21. #define NUMXREGARGS 8
  22. /* Number of FP parameter passing registers. */
  23. #define NUMDREGARGS 8
  24. /* Size of named integer argument in bytes when passed on the
  25. stack. */
  26. #define SIZEOF_NAMED_INT 4
  27. /* Size of an anonymous integer argument in bytes when passed on the
  28. stack. */
  29. #define SIZEOF_ANONYMOUS_INT 8
  30. #define oX21 (oX0 + 21*8)
  31. #define oFP (oX0 + 29*8)
  32. #define oLR (oX0 + 30*8)