arch,cpu,mem,sim: Reimplement the SE translating proxy using the FS one.
authorGabe Black <gabeblack@google.com>
Mon, 9 Mar 2020 23:50:32 +0000 (16:50 -0700)
committerGabe Black <gabeblack@google.com>
Thu, 19 Mar 2020 07:21:13 +0000 (07:21 +0000)
commit7342bccd8d988d60d4fa65f73cdeb3b87fed371c
treef974c4a7997f3ffb7b08e0beefb71b86356bc431
parent8e0e7da5ab399a3c2421d7c32349e2051774cec3
arch,cpu,mem,sim: Reimplement the SE translating proxy using the FS one.

The only functional difference between them was that the SE one might
have optionally fixed up missing translations for demand paging.

This lets us get rid of some code recreating the proxy ports in
setProcessPtr since the SE translating port no longer keeps a copy of
the process object pointer.

Change-Id: Id97df1874f1de138ffd4f2dbb5846dda79d9e4ac
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/26550
Tested-by: kokoro <noreply+kokoro@google.com>
Reviewed-by: Matthew Poremba <matthew.poremba@amd.com>
Maintainer: Gabe Black <gabeblack@google.com>
15 files changed:
src/arch/arm/fastmodel/iris/thread_context.cc
src/arch/arm/process.cc
src/arch/mips/process.cc
src/arch/power/process.cc
src/arch/riscv/process.cc
src/arch/sparc/process.cc
src/arch/x86/process.cc
src/cpu/thread_state.cc
src/cpu/thread_state.hh
src/mem/fs_translating_port_proxy.cc
src/mem/fs_translating_port_proxy.hh
src/mem/se_translating_port_proxy.cc
src/mem/se_translating_port_proxy.hh
src/sim/process.cc
src/sim/process.hh