ae7d0cac8c
Rather than manually include tconfig.h when we think we'll need it (which is error prone as it can define symbols we expect from config.h), have it be included directly by config.h. Since we know we have to include that header everywhere already, this will make sure tconfig.h isn't missed. It should also be fine as tconfig.h is supposed to be simple and only set up a few core defines for the target. This allows us to stop symlinking it in place all the time and just use it straight out of the respective source directory.
16 lines
551 B
C
16 lines
551 B
C
/* 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
|