From 39896bd265cfab20ab512cf4bceed7b38eca9d91 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Thu, 2 May 2019 01:33:31 -0700 Subject: 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 Reviewed-by: Jason Lowe-Power Reviewed-by: Brandon Potter Reviewed-by: Andreas Sandberg Maintainer: Andreas Sandberg --- src/cpu/o3/thread_context.hh | 4 ++-- src/cpu/o3/thread_context_impl.hh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/cpu/o3') diff --git a/src/cpu/o3/thread_context.hh b/src/cpu/o3/thread_context.hh index e5f01871b..a3698cf2e 100644 --- a/src/cpu/o3/thread_context.hh +++ b/src/cpu/o3/thread_context.hh @@ -132,7 +132,7 @@ class O3ThreadContext : public ThreadContext PortProxy &getPhysProxy() override { return thread->getPhysProxy(); } - FSTranslatingPortProxy &getVirtProxy() override; + PortProxy &getVirtProxy() override; void initMemProxies(ThreadContext *tc) override @@ -140,7 +140,7 @@ class O3ThreadContext : public ThreadContext thread->initMemProxies(tc); } - SETranslatingPortProxy & + PortProxy & getMemProxy() override { return thread->getMemProxy(); diff --git a/src/cpu/o3/thread_context_impl.hh b/src/cpu/o3/thread_context_impl.hh index 58dee9814..e05721b99 100644 --- a/src/cpu/o3/thread_context_impl.hh +++ b/src/cpu/o3/thread_context_impl.hh @@ -54,7 +54,7 @@ #include "debug/O3CPU.hh" template -FSTranslatingPortProxy& +PortProxy& O3ThreadContext::getVirtProxy() { return thread->getVirtProxy(); -- cgit v1.2.3