summaryrefslogtreecommitdiff
path: root/src/cpu/thread_state.cc
diff options
context:
space:
mode:
authorGabe Black <gabeblack@google.com>2019-05-02 01:33:31 -0700
committerGabe Black <gabeblack@google.com>2019-05-30 14:20:03 +0000
commit39896bd265cfab20ab512cf4bceed7b38eca9d91 (patch)
tree425121810f14f44e12a899a9308cc3a63dd37cf3 /src/cpu/thread_state.cc
parentf349b0845cb235504c3b3613e828403f1a3fa208 (diff)
downloadgem5-39896bd265cfab20ab512cf4bceed7b38eca9d91.tar.xz
cpu, sim: Return PortProxy &s from all the proxy accessors.
This is a step towards merging the accessors for SE and FS modes. Change-Id: I76818ab88b97097ac363e243be9cc1911b283090 Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/18579 Tested-by: kokoro <noreply+kokoro@google.com> Reviewed-by: Jason Lowe-Power <jason@lowepower.com> Reviewed-by: Brandon Potter <Brandon.Potter@amd.com> Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com> Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
Diffstat (limited to 'src/cpu/thread_state.cc')
-rw-r--r--src/cpu/thread_state.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cpu/thread_state.cc b/src/cpu/thread_state.cc
index acb297113..c9fc56487 100644
--- a/src/cpu/thread_state.cc
+++ b/src/cpu/thread_state.cc
@@ -133,7 +133,7 @@ ThreadState::getPhysProxy()
return *physProxy;
}
-FSTranslatingPortProxy &
+PortProxy &
ThreadState::getVirtProxy()
{
assert(FullSystem);
@@ -141,7 +141,7 @@ ThreadState::getVirtProxy()
return *virtProxy;
}
-SETranslatingPortProxy &
+PortProxy &
ThreadState::getMemProxy()
{
assert(!FullSystem);