#ifndef __MEM_CACHE_MSHR_QUEUE_HH__
#define __MEM_CACHE_MSHR_QUEUE_HH__
-#include <vector>
+#include <string>
+#include "base/types.hh"
#include "mem/cache/mshr.hh"
#include "mem/cache/queue.hh"
+#include "mem/packet.hh"
/**
* A Class for maintaining a list of pending and allocated memory requests.
*/
bool canPrefetch() const
{
- return (allocated < numEntries - (numReserve + demandReserve));
+ // @todo we may want to revisit the +1, currently added to
+ // keep regressions unchanged
+ return (allocated < numEntries - (numReserve + 1 + demandReserve));
}
};