fb0cc53ef6
The device_error() takes a printf style string, so update the prototype accordingly. The message should be const and it should use an attribute. This fixes gcc warnings like: sim-core.c: In function 'sim_core_map_attach': sim-core.c:200: warning: passing argument 2 of 'device_error' discards qualifiers from pointer target type sim-core.c:237: warning: passing argument 2 of 'device_error' discards qualifiers from pointer target type sim-core.c: In function 'sim_core_attach': sim-core.c:304: warning: passing argument 2 of 'device_error' discards qualifiers from pointer target type sim-core.c:314: warning: passing argument 2 of 'device_error' discards qualifiers from pointer target type sim-core.c:335: warning: passing argument 2 of 'device_error' discards qualifiers from pointer target type sim-core.c:348: warning: passing argument 2 of 'device_error' discards qualifiers from pointer target type |
||
---|---|---|
.. | ||
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.in | ||
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.