From 7f4d6c83889e03d3b2da470625667346e0addee1 Mon Sep 17 00:00:00 2001 From: Xianwei Zhang Date: Tue, 1 May 2018 15:55:52 -0400 Subject: [PATCH] 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 --- src/mem/ruby/system/VIPERCoalescer.cc | 10 ++++++++++ src/mem/ruby/system/VIPERCoalescer.hh | 3 +++ 2 files changed, 13 insertions(+) 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); -- 2.30.2