sim: reg: constify store helper
authorMike Frysinger <vapier@gentoo.org>
Wed, 26 Oct 2022 17:16:21 +0000 (23:01 +0545)
committerMike Frysinger <vapier@gentoo.org>
Mon, 31 Oct 2022 15:39:39 +0000 (21:24 +0545)
commit5bab16fdf1775c8abd16376458c5843fbe1d4314
tree0b41c08b25c87525ba53362fca775a7d6acb6599
parented60d3edd51f6c33fb0f3f09400094a1b1c2ceb2
sim: reg: constify store helper

These functions only read from memory, so mark the pointer as const.
38 files changed:
include/sim/sim.h
sim/aarch64/interp.c
sim/arm/wrapper.c
sim/avr/interp.c
sim/bfin/machs.c
sim/bpf/bpf.c
sim/common/sim-cpu.h
sim/common/sim-reg.c
sim/cr16/interp.c
sim/cris/cris-tmpl.c
sim/cris/sim-if.c
sim/d10v/interp.c
sim/erc32/interf.c
sim/frv/frv.c
sim/ft32/interp.c
sim/h8300/compile.c
sim/iq2000/iq2000.c
sim/lm32/lm32.c
sim/m32c/gdb-if.c
sim/m32r/m32r.c
sim/m32r/m32r2.c
sim/m32r/m32rx.c
sim/m68hc11/interp.c
sim/mcore/interp.c
sim/microblaze/interp.c
sim/mips/interp.c
sim/mn10300/interp.c
sim/moxie/interp.c
sim/msp430/msp430-sim.c
sim/or1k/or1k-sim.h
sim/or1k/or1k.c
sim/ppc/gdb-sim.c
sim/pru/interp.c
sim/riscv/sim-main.c
sim/rl78/gdb-if.c
sim/rx/gdb-if.c
sim/sh/interp.c
sim/v850/interp.c