aboutsummaryrefslogtreecommitdiff
path: root/sim/bfin/tconfig.h
diff options
context:
space:
mode:
Diffstat (limited to 'sim/bfin/tconfig.h')
-rw-r--r--sim/bfin/tconfig.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/sim/bfin/tconfig.h b/sim/bfin/tconfig.h
new file mode 100644
index 0000000..d28fd8d
--- /dev/null
+++ b/sim/bfin/tconfig.h
@@ -0,0 +1,15 @@
+/* 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
+
+/* ??? 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