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. |
||
---|---|---|
.. | ||
aclocal.m4 | ||
arch.c | ||
arch.h | ||
ChangeLog | ||
config.in | ||
configure | ||
configure.ac | ||
cpu.c | ||
cpu.h | ||
cpu2.c | ||
cpu2.h | ||
cpuall.h | ||
cpux.c | ||
cpux.h | ||
decode.c | ||
decode.h | ||
decode2.c | ||
decode2.h | ||
decodex.c | ||
decodex.h | ||
devices.c | ||
m32r-sim.h | ||
m32r.c | ||
m32r2.c | ||
m32rx.c | ||
Makefile.in | ||
mloop.in | ||
mloop2.in | ||
mloopx.in | ||
model.c | ||
model2.c | ||
modelx.c | ||
README | ||
sem-switch.c | ||
sem.c | ||
sem2-switch.c | ||
semx-switch.c | ||
sim-if.c | ||
sim-main.h | ||
syscall.h | ||
tconfig.h | ||
TODO | ||
traps-linux.c | ||
traps.c |
This is the m32r simulator directory. It is still work-in-progress. The current sources are reasonably well tested and lots of features are in. However, there's lots more yet to come. There are lots of machine generated files in the source directory! They are only generated if you configure with --enable-cgen-maint, similar in behaviour to Makefile.in, configure under automake/autoconf. For details on the generator, see ../../cgen. devo/cgen isn't part of the comp-tools module yet. You'll need to check it out manually (also akin to automake/autoconf).