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 /src/mem/ruby/system/Sequencer.cc | |
parent | 4b19e06644880ee58d952b73321c68135dba8259 (diff) | |
download | gem5-78a1245b4115373856514eacf2264141e6cd4aca.tar.xz |
ruby: remove unused function removeRequest()
Diffstat (limited to 'src/mem/ruby/system/Sequencer.cc')
-rw-r--r-- | src/mem/ruby/system/Sequencer.cc | 22 |
1 files changed, 0 insertions, 22 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); |