aboutsummaryrefslogtreecommitdiff
path: root/sim/bfin/tconfig.in
blob: 130707a90a8c6bd81fbfe37504a7fd92c58013aa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/* Blackfin target configuration file.  -*- C -*- */

/* See sim-hload.c.  We properly handle LMA. -- TODO: check this */
#define SIM_HANDLES_LMA 1

/* We use this so that we are passed the requesting CPU for HW acesses.
   Common sim core by default sets hw_system_cpu to NULL for WITH_HW.  */
#define WITH_DEVICES 1

/* FIXME: This is unnecessarily necessary: */
#include "ansidecl.h"
#include "gdb/callback.h"
#include "gdb/remote-sim.h"
#include "sim-module.h"

/* FIXME: Revisit.  */
#ifdef HAVE_DV_SOCKSER
MODULE_INSTALL_FN dv_sockser_install;
#define MODULE_LIST dv_sockser_install,
#endif

/* ??? Temporary hack until model support unified.  */
#define SIM_HAVE_MODEL

/* Allows us to do the memory aliasing that some bfroms have:
   {0xef000000 - 0xef100000} => {0xef000000 - 0xef000800}  */
#define WITH_MODULO_MEMORY 1