OSDN Git Service

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