From 9bffae0e023b1ae0f3a545dc0ec7f8c6325b3069 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Thu, 2 May 2019 00:55:10 -0700 Subject: arch, base, sim: Demote (SE|FS)TranslatingPortProxy &s to PortProxy &s. Al(most) all of the interesting differences between the two classes have been removed. There are some control methods which are still specific to each type which may require treating them as their true type, but most code that consumes them doesn't need to worry about which is which. Change-Id: Ie592676f1e496c7940605b66e55cd7fae18e59d6 Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/18577 Tested-by: kokoro Reviewed-by: Jason Lowe-Power Reviewed-by: Brandon Potter Reviewed-by: Andreas Sandberg Maintainer: Andreas Sandberg --- src/arch/sparc/utility.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/arch/sparc') diff --git a/src/arch/sparc/utility.cc b/src/arch/sparc/utility.cc index 6b3e5d204..5b05eaf71 100644 --- a/src/arch/sparc/utility.cc +++ b/src/arch/sparc/utility.cc @@ -57,7 +57,7 @@ getArgument(ThreadContext *tc, int &number, uint16_t size, bool fp) return tc->readIntReg(8 + number); } else { Addr sp = tc->readIntReg(StackPointerReg); - FSTranslatingPortProxy &vp = tc->getVirtProxy(); + PortProxy &vp = tc->getVirtProxy(); uint64_t arg = vp.read(sp + 92 + (number-NumArgumentRegs) * sizeof(uint64_t)); return arg; -- cgit v1.2.3