mem: Default the SE translating port proxy alloc method to NextPage.
authorGabe Black <gabeblack@google.com>
Mon, 11 May 2020 14:24:25 +0000 (07:24 -0700)
committerGabe Black <gabeblack@google.com>
Tue, 9 Jun 2020 10:02:26 +0000 (10:02 +0000)
This is what's used in 99% of cases, so it makes sense to make it the
default.

Change-Id: I51535b3387d1c1a0d1d89e77cfca10363388b472
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/29399
Reviewed-by: Matthew Poremba <matthew.poremba@amd.com>
Maintainer: Gabe Black <gabeblack@google.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/mem/se_translating_port_proxy.hh

index 0fe3212012b8f17ddff10b4433aa5214b99e8fcf..41f92a665f1394917aae8b88ccb86792aa21529e 100644 (file)
@@ -60,7 +60,7 @@ class SETranslatingPortProxy : public TranslatingPortProxy
     bool fixupAddr(Addr addr, BaseTLB::Mode mode) const override;
 
   public:
-    SETranslatingPortProxy(ThreadContext *tc, AllocType alloc,
+    SETranslatingPortProxy(ThreadContext *tc, AllocType alloc=NextPage,
                            Request::Flags _flags=0);
 };