6e4f085c7f
Other than the nice advantage of all sims having to declare one fewer common function, this also fixes leakage in pretty much every sim. Many were not freeing any resources, and a few were inconsistent as to the ones they did. Now we have a single module that takes care of all the logic for us. Most of the non-cgen based ones could be deleted outright. The cgen ones required adding a callback to the arch-specific cleanup func. The few that still have close callbacks are to manage their internal state. We do not convert erc32, m32c, ppc, rl78, or rx as they do not use the common sim core. |
||
---|---|---|
.. | ||
aclocal.m4 | ||
arch.c | ||
arch.h | ||
cache.c | ||
cache.h | ||
ChangeLog | ||
config.in | ||
configure | ||
configure.ac | ||
cpu.c | ||
cpu.h | ||
cpuall.h | ||
decode.c | ||
decode.h | ||
devices.c | ||
frv-sim.h | ||
frv.c | ||
interrupts.c | ||
Makefile.in | ||
memory.c | ||
mloop.in | ||
model.c | ||
options.c | ||
pipeline.c | ||
profile-fr400.c | ||
profile-fr400.h | ||
profile-fr450.c | ||
profile-fr500.c | ||
profile-fr500.h | ||
profile-fr550.c | ||
profile-fr550.h | ||
profile.c | ||
profile.h | ||
README | ||
registers.c | ||
registers.h | ||
reset.c | ||
sem.c | ||
sim-if.c | ||
sim-main.h | ||
tconfig.h | ||
TODO | ||
traps.c |
This is the frv simulator directory. It is still work-in-progress. The current sources are well tested and lots of features are in. 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.