cpu: Store the translating proxy with the same pointer in SE or FS mode.
authorGabe Black <gabeblack@google.com>
Thu, 2 May 2019 08:54:15 +0000 (01:54 -0700)
committerGabe Black <gabeblack@google.com>
Thu, 30 May 2019 14:20:03 +0000 (14:20 +0000)
commit74e494e1a28562245d9733df61739ea3cc32f92d
treebeb64021da7679ffcd96d84244ce5c8263ab1ebd
parent39896bd265cfab20ab512cf4bceed7b38eca9d91
cpu: Store the translating proxy with the same pointer in SE or FS mode.

Only one is active at a time, so they can share the same pointer.

Change-Id: Ie4ae1f0ffbf9448f6730f9c7d072bc85d6d423da
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/18580
Tested-by: kokoro <noreply+kokoro@google.com>
Maintainer: Gabe Black <gabeblack@google.com>
Reviewed-by: Brandon Potter <Brandon.Potter@amd.com>
src/cpu/thread_state.cc
src/cpu/thread_state.hh