sim: syscall: unify memory helpers
authorMike Frysinger <vapier@gentoo.org>
Mon, 15 Jun 2015 15:24:21 +0000 (21:09 +0545)
committerMike Frysinger <vapier@gentoo.org>
Wed, 17 Jun 2015 17:19:51 +0000 (13:19 -0400)
commit61a0c964e611eaf72489c3049ba206b2f91ea4a9
tree386585a4f8d371d56225e968649dba301ec27801
parent6362a3f8757bfce133b724df2077573433823ad4
sim: syscall: unify memory helpers

Almost every port implements these two callbacks in the same way, so
unify them in the common layer.
20 files changed:
sim/bfin/ChangeLog
sim/bfin/interp.c
sim/common/ChangeLog
sim/common/Make-common.in
sim/common/sim-syscall.c [new file with mode: 0644]
sim/common/sim-syscall.h [new file with mode: 0644]
sim/cris/ChangeLog
sim/cris/traps.c
sim/lm32/ChangeLog
sim/lm32/traps.c
sim/m32r/ChangeLog
sim/m32r/traps-linux.c
sim/m32r/traps.c
sim/mcore/ChangeLog
sim/mcore/interp.c
sim/mn10300/ChangeLog
sim/mn10300/mn10300_sim.h
sim/mn10300/op_utils.c
sim/msp430/ChangeLog
sim/msp430/msp430-sim.c