Imported Upstream version 7.9
[platform/upstream/gdb.git] / sim / cris / tconfig.in
1 /* CRIS target configuration file.  -*- C -*-
2    Copyright (C) 2004-2015 Free Software Foundation, Inc.
3    Contributed by Axis Communications.
4
5 This file is part of the GNU simulators.
6
7 This program is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation; either version 3 of the License, or
10 (at your option) any later version.
11
12 This program is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15 GNU General Public License for more details.
16
17 You should have received a copy of the GNU General Public License
18 along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
19
20 #ifndef CRIS_TCONFIG_H
21 #define CRIS_TCONFIG_H
22
23 #include "ansidecl.h"
24 #include "gdb/callback.h"
25 #include "gdb/remote-sim.h"
26 #include "sim-module.h"
27
28 /* There's basically a a big ??? FIXME: CHECK THIS on everything in this
29    file.  I just copied it from m32r, pruned some stuff and added
30    HAVE_MODEL because it seemed useful.  */
31
32 /* See sim-hload.c.  We properly handle LMA.  */
33 #define SIM_HANDLES_LMA 1
34
35 /* For MSPR support.  FIXME: revisit.  */
36 #define WITH_DEVICES 1
37
38 extern MODULE_INSTALL_FN cris_option_install;
39
40 /* FIXME: Revisit.  */
41 #ifdef HAVE_DV_SOCKSER
42 extern MODULE_INSTALL_FN dv_sockser_install;
43 #define MODULE_LIST dv_sockser_install, cris_option_install,
44 #else
45 #define MODULE_LIST cris_option_install,
46 #endif
47
48 #define SIM_HAVE_MODEL
49
50 /* This is a global setting.  Different cpu families can't mix-n-match -scache
51    and -pbb.  However some cpu families may use -simple while others use
52    one of -scache/-pbb.  */
53 #define WITH_SCACHE_PBB 1
54
55 #endif /* CRIS_TCONFIG_H */