b320601b45
* sim-module.c, sim-profile.c: New files. * Make-common.in (SIM_PROFILE): Define (CONFIG_CFLAGS): Add $(SIM_PROFILE). (sim_main_headers): Add sim-module.h, sim-model.h, sim-profile.h. (sim_module.o,sim-profile.o): Add rules for. * aclocal.m4 (--enable-sim-trace): Allow symbolic arguments. (--enable-sim-profile): Add. * configure: Regenerated. * sim-base.h (sim_state_base): New members init_list, uninstall_list, model. Move trace and profile support to sim-{trace,profile}.h. New members trace_data, profile_data. * sim-basics.h: #include sim-module.h, sim-model.h, sim-profile.h. * sim-config.h: Provide default definition of WITH_PROFILE. (WITH_TRACE): Change default to -1. (MAX_NR_PROCESSORS): Always define. * sim-options.c: Move trace and profile support to sim-{trace,profile}.h. (sim_pre_argv_init): Moved to sim-model.c. (standard_install): New function. * sim-options.h (sim_pre_argv_init): Move decl to sim-model.c. (standard_install): Declare. * sim-trace.c: Tracing option handling moved here from sim-options.c. (trace_install, trace_uninstall): New functions. (trace_printf): Update reference to TRACE_FILE. * sim-trace.h (TRACE_FOO_IDX): Moved here from sim-base.h. (TRACE_foo): Bit masks for symbolic arguments to --enable-sim-trace. (WITH_TRACE_FOO_P): Define. (trace_install): Declare. (TRACE_DATA): New struct.
80 lines
1.5 KiB
Text
80 lines
1.5 KiB
Text
# .Sanitize for devo/sim/common.
|
|
|
|
# Each directory to survive its way into a release will need a file
|
|
# like this one called "./.Sanitize". All keyword lines must exist,
|
|
# and must exist in the order specified by this file. Each directory
|
|
# in the tree will be processed, top down, in the following order.
|
|
|
|
# Hash started lines like this one are comments and will be deleted
|
|
# before anything else is done. Blank lines will also be squashed
|
|
# out.
|
|
|
|
# The lines between the "Do-first:" line and the "Things-to-keep:"
|
|
# line are executed as a /bin/sh shell script before anything else is
|
|
# done in this directory.
|
|
|
|
Do-first:
|
|
|
|
# All files listed between the "Things-to-keep:" line and the
|
|
# "Files-to-sed:" line will be kept. All other files will be removed.
|
|
# Directories listed in this section will have their own Sanitize
|
|
# called. Directories not listed will be removed in their entirety
|
|
# with rm -rf.
|
|
|
|
Things-to-keep:
|
|
|
|
ChangeLog
|
|
Make-common.in
|
|
Makefile.in
|
|
aclocal.m4
|
|
callback.c
|
|
config.in
|
|
configure.in
|
|
configure
|
|
gentmap.c
|
|
gentvals.sh
|
|
nltvals.def
|
|
nrun.c
|
|
run.c
|
|
run.1
|
|
sim-assert.h
|
|
sim-alu.h
|
|
sim-base.h
|
|
sim-basics.h
|
|
sim-bits.c
|
|
sim-bits.h
|
|
sim-config.h
|
|
sim-core.c
|
|
sim-core.h
|
|
sim-endian.c
|
|
sim-endian.h
|
|
sim-events.c
|
|
sim-events.h
|
|
sim-inline.c
|
|
sim-inline.h
|
|
sim-io.c
|
|
sim-io.h
|
|
sim-load.c
|
|
sim-model.h
|
|
sim-module.c
|
|
sim-module.h
|
|
sim-n-bits.h
|
|
sim-n-core.h
|
|
sim-n-endian.h
|
|
sim-options.c
|
|
sim-options.h
|
|
sim-profile.c
|
|
sim-profile.h
|
|
sim-trace.c
|
|
sim-trace.h
|
|
sim-types.h
|
|
sim-utils.c
|
|
sim-xcat.h
|
|
tconfig.in
|
|
|
|
Things-to-lose:
|
|
|
|
|
|
Do-last:
|
|
|
|
# End of file.
|