Update copyright dates with scripts/update-copyrights.
[glibc.git] / sysdeps / unix / sysv / linux / aarch64 / ucontext-internal.h
blob50a05baca5692909d51ed15b7792981b69099046
1 /* Copyright (C) 2009-2015 Free Software Foundation, Inc.
3 This file is part of the GNU C Library.
5 The GNU C Library is free software; you can redistribute it and/or
6 modify it under the terms of the GNU Lesser General Public License as
7 published by the Free Software Foundation; either version 2.1 of the
8 License, or (at your option) any later version.
10 The GNU C Library is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 Lesser General Public License for more details.
15 You should have received a copy of the GNU Lesser General Public
16 License along with the GNU C Library; if not, see
17 <http://www.gnu.org/licenses/>. */
19 #define SP_ALIGN_SIZE 15
21 #define SP_ALIGN_MASK ~15
23 /* Size of an X regiser in bytes. */
24 #define SZREG 8
26 /* Size of a V register in bytes. */
27 #define SZVREG 16
29 /* Number of integer parameter passing registers. */
30 #define NUMXREGARGS 8
32 /* Number of FP parameter passing registers. */
33 #define NUMDREGARGS 8
35 /* Size of named integer argument in bytes when passed on the
36 stack. */
37 #define SIZEOF_NAMED_INT 4
39 /* Size of an anonymous integer argument in bytes when passed on the
40 stack. */
41 #define SIZEOF_ANONYMOUS_INT 8
43 #define oX21 (oX0 + 21*8)
44 #define oFP (oX0 + 29*8)
45 #define oLR (oX0 + 30*8)