arch, base, sim: Replace Copy(String)?(In|Out) with equivalent code.
authorGabe Black <gabeblack@google.com>
Thu, 2 May 2019 04:43:09 +0000 (21:43 -0700)
committerGabe Black <gabeblack@google.com>
Thu, 30 May 2019 06:07:33 +0000 (06:07 +0000)
commit096598c05a6c352bfd4b93adf06143a43a8f4e11
tree1dcbf980d846035fed6554ae00ca1d2669072b51
parentda7e63d088cd1710ee4f55f7c5481df4fa95e531
arch, base, sim: Replace Copy(String)?(In|Out) with equivalent code.

This expands those functions into code which extracts the virt proxy
and then uses the appropriate method on it. This has two benefits.
First, the Copy* functions where mostly redundant wrappers around the
methods the proxy port already had. Second, using them forced a
particular port which might not actually be what the user wanted.

Change-Id: I62084631dd080061e3c74997125164f40da2d77c
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/18575
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Maintainer: Jason Lowe-Power <jason@lowepower.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/arch/alpha/stacktrace.cc
src/arch/arm/stacktrace.cc
src/arch/generic/linux/threadinfo.hh
src/arch/mips/stacktrace.cc
src/arch/x86/stacktrace.cc
src/base/cp_annotate.cc
src/sim/arguments.hh
src/sim/pseudo_inst.cc