cpu: Eliminate the ProxyThreadContext class.
authorGabe Black <gabeblack@google.com>
Sun, 14 Apr 2019 03:49:20 +0000 (20:49 -0700)
committerGabe Black <gabeblack@google.com>
Mon, 22 Apr 2019 21:17:01 +0000 (21:17 +0000)
commit620d1c6f72733e87062a51c5f9d3e7fd6324f543
tree9f744069e22a514b3c5991cfb04401425831e253
parent3a106e114a7008d13203af55dc54c02b34bd1069
cpu: Eliminate the ProxyThreadContext class.

Replace it with direct inheritance from the ThreadContext class in the
SimpleThread class which was the only place it was used.

Also take the opportunity to use some specialized types instead of
ints, etc., add some consts, and fix some style issues.

Change-Id: I5d2cfa87b20dc43615e33e6755c9d016564e9c0e
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/18048
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Reviewed-by: Anthony Gutierrez <anthony.gutierrez@amd.com>
Maintainer: Gabe Black <gabeblack@google.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/arch/alpha/ev5.cc
src/cpu/checker/thread_context.hh
src/cpu/o3/thread_context.hh
src/cpu/o3/thread_context_impl.hh
src/cpu/simple_thread.cc
src/cpu/simple_thread.hh
src/cpu/thread_context.cc
src/cpu/thread_context.hh
src/cpu/thread_state.hh