From: Xianwei Zhang Date: Tue, 1 May 2018 19:55:52 +0000 (-0400) Subject: mem-ruby: Add codes for pure virtual functions for compilation X-Git-Tag: v20.1.0.0~602 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7f4d6c83889e03d3b2da470625667346e0addee1;p=gem5.git mem-ruby: Add codes for pure virtual functions for compilation Change-Id: Ic34f9ccf10ec28d68eed236dc6246e2ae2ef1b89 Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/28409 Tested-by: kokoro Reviewed-by: Anthony Gutierrez Reviewed-by: Matt Sinclair Maintainer: Anthony Gutierrez --- diff --git a/src/mem/ruby/system/VIPERCoalescer.cc b/src/mem/ruby/system/VIPERCoalescer.cc index d8977ac85..cdef2b1f3 100644 --- a/src/mem/ruby/system/VIPERCoalescer.cc +++ b/src/mem/ruby/system/VIPERCoalescer.cc @@ -76,6 +76,16 @@ VIPERCoalescer::~VIPERCoalescer() { } +void +VIPERCoalescer::issueRequest(CoalescedRequest* crequest) +{ +} + +void +VIPERCoalescer::issueMemSyncRequest(PacketPtr pkt) +{ +} + // Places an uncoalesced packet in uncoalescedTable. If the packet is a // special type (MemFence, scoping, etc), it is issued immediately. RequestStatus diff --git a/src/mem/ruby/system/VIPERCoalescer.hh b/src/mem/ruby/system/VIPERCoalescer.hh index 2b6e86e0c..814166df4 100644 --- a/src/mem/ruby/system/VIPERCoalescer.hh +++ b/src/mem/ruby/system/VIPERCoalescer.hh @@ -57,6 +57,9 @@ class VIPERCoalescer : public GPUCoalescer typedef VIPERCoalescerParams Params; VIPERCoalescer(const Params *); ~VIPERCoalescer(); + + void issueMemSyncRequest(PacketPtr pkt); + void issueRequest(CoalescedRequest* crequest) override; void wbCallback(Addr address); void invCallback(Addr address); RequestStatus makeRequest(PacketPtr pkt);