OSDN Git Service

Replace FSF snail mail address with URLs
[uclinux-h8/uClibc.git] / libc / sysdeps / linux / xtensa / bits / xtensa-config.h
1 /* Xtensa configuration settings.
2    Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007
3    Free Software Foundation, Inc.
4    Contributed by Bob Wilson (bwilson@tensilica.com) at Tensilica.
5
6    The GNU C Library is free software; you can redistribute it and/or
7    modify it under the terms of the GNU Lesser General Public
8    License as published by the Free Software Foundation; either
9    version 2.1 of the License, or (at your option) any later version.
10
11    The GNU C Library is distributed in the hope that it will be useful,
12    but WITHOUT ANY WARRANTY; without even the implied warranty of
13    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14    Lesser General Public License for more details.
15
16    You should have received a copy of the GNU Lesser General Public
17    License along with the GNU C Library; if not, see
18    <http://www.gnu.org/licenses/>.  */
19
20 #ifndef XTENSA_CONFIG_H
21 #define XTENSA_CONFIG_H
22
23 /* The macros defined here match those with the same names in the Xtensa
24    compile-time HAL (Hardware Abstraction Layer).  Please refer to the
25    Xtensa System Software Reference Manual for documentation of these
26    macros.  */
27
28 /* The following macros reflect the default expectations for Xtensa
29    processor configurations that can run glibc.  If you want to try
30    building glibc for an Xtensa configuration that is missing these
31    options, you will at least need to change the values of these
32    macros.  */
33
34 #undef XCHAL_HAVE_NSA
35 #define XCHAL_HAVE_NSA                  1
36
37 #undef XCHAL_HAVE_LOOPS
38 #define XCHAL_HAVE_LOOPS                1
39
40 /* Assume the maximum number of AR registers.  This currently only affects
41    the __window_spill function, and it is always safe to flush extra.  */
42
43 #undef XCHAL_NUM_AREGS
44 #define XCHAL_NUM_AREGS                 64
45
46 #endif /* !XTENSA_CONFIG_H */