binutils-gdb/sim/common
Mike Frysinger b79efe264f sim: unify scache settings
The cgen scache module is enabled by every cgen port, and with the
same default value of 16k (which matches the common default value).
Let's pull this option out of the individual ports (via CPPFLAGS)
and into the common code (via config.h).

The object itself is compiled only for cgen ports atm, so that part
doesn't change.  The scache code is initialized dynamically via the
modules.c logic.  That's why the profile code needs an additional
CGEN_ARCH check.

This will allow us to collapse arch configure files more.  Merging
the source files will require more future work, but integrating the
cgen & non-cgen worlds itself will take a lot.
2021-06-30 13:33:18 -04:00
..
callback.c sim: callback: add check for HAVE_KILL 2021-06-29 20:12:57 -04:00
cgen-accfp.c sim: switch config.h usage to defs.h 2021-05-16 22:38:41 -04:00
cgen-cpu.h Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
cgen-defs.h sim: namespace sim_machs 2021-06-30 01:52:51 -04:00
cgen-engine.h Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
cgen-fpu.c sim: switch config.h usage to defs.h 2021-05-16 22:38:41 -04:00
cgen-fpu.h sim/common: wire up new unordered comparisons 2019-06-13 21:27:10 +09:00
cgen-mem.h sim: cgen: always leverage the mem prototypes 2021-06-27 10:44:22 -04:00
cgen-ops.h sim: cgen: always leverage the ops prototypes 2021-06-27 10:42:51 -04:00
cgen-par.c sim: switch config.h usage to defs.h 2021-05-16 22:38:41 -04:00
cgen-par.h Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
cgen-run.c sim: cgen: add asserts to fix unused engine warnings 2021-06-27 10:48:07 -04:00
cgen-scache.c sim: move scache init to dynamic modules.c 2021-06-30 12:41:53 -04:00
cgen-scache.h sim: unify scache settings 2021-06-30 13:33:18 -04:00
cgen-sim.h Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
cgen-trace.c sim: cgen: suppress trace non-literal printf warning 2021-06-27 10:49:38 -04:00
cgen-trace.h sim: cgen: add printf attributes in a few more calls 2021-06-27 10:46:27 -04:00
cgen-types.h sim: cgen: require long long support 2021-06-29 01:25:11 -04:00
cgen-utils.c sim: namespace sim_machs 2021-06-30 01:52:51 -04:00
cgen.sh sim: gennltvals.sh: handle split out newlib source tree 2015-04-21 03:10:16 -04:00
ChangeLog sim: unify scache settings 2021-06-30 13:33:18 -04:00
create-version.sh sim: common: simplify version script 2021-01-18 12:25:57 -05:00
defs.h sim: drop arch-specific config.h 2021-06-16 00:22:53 -04:00
dv-cfi.c sim: switch config.h usage to defs.h 2021-05-16 22:38:41 -04:00
dv-cfi.h Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
dv-core.c sim: switch config.h usage to defs.h 2021-05-16 22:38:41 -04:00
dv-glue.c sim: switch config.h usage to defs.h 2021-05-16 22:38:41 -04:00
dv-pal.c sim: switch config.h usage to defs.h 2021-05-16 22:38:41 -04:00
dv-sockser.c sim: assume sys/select.h always exists 2021-06-12 22:19:30 -04:00
dv-sockser.h sim: dv-sockser: localize init callback 2021-05-01 22:46:46 -04:00
gdbinit.in
genmloop.sh sim: switch config.h usage to defs.h 2021-05-16 22:38:41 -04:00
gennltvals.py sim: nltvals: unify common syscall tables 2021-04-26 22:39:55 -04:00
gentmap.c sim: callback: generate signal map 2021-06-22 19:38:09 -04:00
hw-alloc.c sim: switch config.h usage to defs.h 2021-05-16 22:38:41 -04:00
hw-alloc.h Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
hw-base.c sim: switch config.h usage to defs.h 2021-05-16 22:38:41 -04:00
hw-base.h Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
hw-device.c sim: switch config.h usage to defs.h 2021-05-16 22:38:41 -04:00
hw-device.h sim: replace custom attributes with ansidecl.h 2021-05-02 10:58:20 -04:00
hw-events.c sim: switch config.h usage to defs.h 2021-05-16 22:38:41 -04:00
hw-events.h sim: add ATTRIBUTE_PRINTF / ATTRIBUTE_NULL_PRINTF where necessary 2021-05-03 10:55:25 -04:00
hw-handles.c sim: switch config.h usage to defs.h 2021-05-16 22:38:41 -04:00
hw-handles.h Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
hw-instances.c sim: switch config.h usage to defs.h 2021-05-16 22:38:41 -04:00
hw-instances.h Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
hw-main.h Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
hw-ports.c sim: switch config.h usage to defs.h 2021-05-16 22:38:41 -04:00
hw-ports.h Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
hw-properties.c sim: switch config.h usage to defs.h 2021-05-16 22:38:41 -04:00
hw-properties.h Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
hw-tree.c sim: switch config.h usage to defs.h 2021-05-16 22:38:41 -04:00
hw-tree.h sim: add ATTRIBUTE_PRINTF / ATTRIBUTE_NULL_PRINTF where necessary 2021-05-03 10:55:25 -04:00
local.mk sim: switch modules.c & version.c to stamp files 2021-06-15 17:06:46 -04:00
Make-common.in sim: unify scache settings 2021-06-30 13:33:18 -04:00
nltvals.def sim: nltvals: unify common syscall tables 2021-04-26 22:39:55 -04:00
nrun.c sim: split sim-signal.h include out 2021-06-18 00:50:14 -04:00
portability.c sim: start unifying portability shims 2021-06-12 23:51:35 -04:00
portability.h sim: start unifying portability shims 2021-06-12 23:51:35 -04:00
run.1 Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
sim-abort.c sim: switch config.h usage to defs.h 2021-05-16 22:38:41 -04:00
sim-alu.h Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
sim-arange.c sim: switch config.h usage to defs.h 2021-05-16 22:38:41 -04:00
sim-arange.h Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
sim-assert.h Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
sim-base.h sim: move default model to the runtime sim state 2021-06-30 02:57:45 -04:00
sim-basics.h sim: split sim-signal.h include out 2021-06-18 00:50:14 -04:00
sim-bits.c sim: switch config.h usage to defs.h 2021-05-16 22:38:41 -04:00
sim-bits.h sim: common: add align_{up,down} to match gdb 2021-01-02 20:55:21 -05:00
sim-close.c sim: switch config.h usage to defs.h 2021-05-16 22:38:41 -04:00
sim-command.c sim: switch config.h usage to defs.h 2021-05-16 22:38:41 -04:00
sim-config.c sim: overhaul & unify endian settings management 2021-06-17 23:20:13 -04:00
sim-config.h sim: delete unused model settings 2021-06-30 03:00:26 -04:00
sim-core.c sim: split sim-signal.h include out 2021-06-18 00:50:14 -04:00
sim-core.h Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
sim-cpu.c sim: namespace sim_machs 2021-06-30 01:52:51 -04:00
sim-cpu.h sim: cgen: move cgen_cpu_max_extra_bytes logic into the common code 2021-04-12 00:14:32 -04:00
sim-endian.c sim: switch config.h usage to defs.h 2021-05-16 22:38:41 -04:00
sim-endian.h sim: split sim/callback.h include out 2021-06-17 00:11:48 -04:00
sim-engine.c sim: move engine init to dynamic modules.c 2021-06-30 12:28:28 -04:00
sim-engine.h sim: move engine init to dynamic modules.c 2021-06-30 12:28:28 -04:00
sim-events.c sim: switch config.h usage to defs.h 2021-05-16 22:38:41 -04:00
sim-events.h sim: sprinkle some ATTRIBUTE_PRINTF 2021-04-22 12:07:14 -04:00
sim-fpu.c sim: switch config.h usage to defs.h 2021-05-16 22:38:41 -04:00
sim-fpu.h Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
sim-hload.c sim: switch config.h usage to defs.h 2021-05-16 22:38:41 -04:00
sim-hrw.c sim: switch config.h usage to defs.h 2021-05-16 22:38:41 -04:00
sim-hw.c sim: split sim/callback.h include out 2021-06-17 00:11:48 -04:00
sim-hw.h sim: hw: localize init callback 2021-05-04 21:52:38 -04:00
sim-info.c sim: switch config.h usage to defs.h 2021-05-16 22:38:41 -04:00
sim-inline.c sim: switch config.h usage to defs.h 2021-05-16 22:38:41 -04:00
sim-inline.h sim: move UNUSED before TYPE in SIM_ENDIAN_INLINE's definition 2021-06-19 22:49:52 -04:00
sim-io.c sim: callback: add printf attributes 2021-06-29 02:14:58 -04:00
sim-io.h sim: io: add printf attributes to vprintf funcs too 2021-06-29 02:20:28 -04:00
sim-load.c sim: switch config.h usage to defs.h 2021-05-16 22:38:41 -04:00
sim-memopt.c sim: switch config.h usage to defs.h 2021-05-16 22:38:41 -04:00
sim-memopt.h Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
sim-model.c sim: move default model to the runtime sim state 2021-06-30 02:57:45 -04:00
sim-model.h sim: move default model to the runtime sim state 2021-06-30 02:57:45 -04:00
sim-module.c sim: move scache init to dynamic modules.c 2021-06-30 12:41:53 -04:00
sim-module.h sim: create header namespace 2021-05-14 00:41:05 -04:00
sim-n-bits.h Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
sim-n-core.h Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
sim-n-endian.h Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
sim-options.c sim: switch config.h usage to defs.h 2021-05-16 22:38:41 -04:00
sim-options.h sim: common: add a version output helper w/copyright+license info 2021-01-04 17:41:23 -05:00
sim-profile.c sim: unify scache settings 2021-06-30 13:33:18 -04:00
sim-profile.h sim: move profile init to dynamic modules.c 2021-06-30 12:38:39 -04:00
sim-reason.c sim: split sim-signal.h include out 2021-06-18 00:50:14 -04:00
sim-reg.c sim: switch config.h usage to defs.h 2021-05-16 22:38:41 -04:00
sim-resume.c sim: split sim-signal.h include out 2021-06-18 00:50:14 -04:00
sim-run.c sim: switch config.h usage to defs.h 2021-05-16 22:38:41 -04:00
sim-signal.c sim: split sim-signal.h include out 2021-06-18 00:50:14 -04:00
sim-signal.h Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
sim-stop.c sim: split sim-signal.h include out 2021-06-18 00:50:14 -04:00
sim-syscall.c sim: syscall: handle killing the sim itself 2021-06-23 20:11:45 -04:00
sim-syscall.h sim: split sim/callback.h include out 2021-06-17 00:11:48 -04:00
sim-trace.c sim: move trace init to dynamic modules.c 2021-06-30 12:34:01 -04:00
sim-trace.h sim: move trace init to dynamic modules.c 2021-06-30 12:34:01 -04:00
sim-types.h Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
sim-utils.c sim: fully merge sim_state_base into sim_state 2021-05-17 01:05:08 -04:00
sim-utils.h sim: callback: drop unused printf helpers 2021-06-29 02:00:29 -04:00
sim-watch.c sim: split sim-signal.h include out 2021-06-18 00:50:14 -04:00
sim-watch.h sim: watchpoints: use common sim_pc_get 2021-02-06 12:12:51 -05:00
syscall.c sim: callback: add a kill interface 2021-06-23 20:05:14 -04:00
version.h Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00