diff options
author | Nilay Vaish <nilay@cs.wisc.edu> | 2015-09-16 11:59:55 -0500 |
---|---|---|
committer | Nilay Vaish <nilay@cs.wisc.edu> | 2015-09-16 11:59:55 -0500 |
commit | 78a1245b4115373856514eacf2264141e6cd4aca (patch) | |
tree | 140e08c73e9b5abbf333daee8309f9fb301c6c7b | |
parent | 4b19e06644880ee58d952b73321c68135dba8259 (diff) | |
download | gem5-78a1245b4115373856514eacf2264141e6cd4aca.tar.xz |
ruby: remove unused function removeRequest()
-rw-r--r-- | src/mem/ruby/system/Sequencer.cc | 22 | ||||
-rw-r--r-- | src/mem/ruby/system/Sequencer.hh | 1 |
2 files changed, 0 insertions, 23 deletions
diff --git a/src/mem/ruby/system/Sequencer.cc b/src/mem/ruby/system/Sequencer.cc index 48e6c5163..186e62d55 100644 --- a/src/mem/ruby/system/Sequencer.cc +++ b/src/mem/ruby/system/Sequencer.cc @@ -242,28 +242,6 @@ Sequencer::markRemoved() } void -Sequencer::removeRequest(SequencerRequest* srequest) -{ - assert(m_outstanding_count == - m_writeRequestTable.size() + m_readRequestTable.size()); - - Addr line_addr = makeLineAddress(srequest->pkt->getAddr()); - if ((srequest->m_type == RubyRequestType_ST) || - (srequest->m_type == RubyRequestType_RMW_Read) || - (srequest->m_type == RubyRequestType_RMW_Write) || - (srequest->m_type == RubyRequestType_Load_Linked) || - (srequest->m_type == RubyRequestType_Store_Conditional) || - (srequest->m_type == RubyRequestType_Locked_RMW_Read) || - (srequest->m_type == RubyRequestType_Locked_RMW_Write)) { - m_writeRequestTable.erase(line_addr); - } else { - m_readRequestTable.erase(line_addr); - } - - markRemoved(); -} - -void Sequencer::invalidateSC(Addr address) { AbstractCacheEntry *e = m_dataCache_ptr->lookup(address); diff --git a/src/mem/ruby/system/Sequencer.hh b/src/mem/ruby/system/Sequencer.hh index 319c5cf21..4716aa653 100644 --- a/src/mem/ruby/system/Sequencer.hh +++ b/src/mem/ruby/system/Sequencer.hh @@ -97,7 +97,6 @@ class Sequencer : public RubyPort void checkCoherence(Addr address); void markRemoved(); - void removeRequest(SequencerRequest* request); void evictionCallback(Addr address); void invalidateSC(Addr address); |