queue_entry.hh (11375:f98df9231cdd) | queue_entry.hh (12724:4f6fac3191d2) |
---|---|
1/* 2 * Copyright (c) 2012-2013, 2015-2016 ARM Limited 3 * All rights reserved. 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 37 unchanged lines hidden (view full) --- 46 * Generic queue entry 47 */ 48 49#ifndef __MEM_CACHE_QUEUE_ENTRY_HH__ 50#define __MEM_CACHE_QUEUE_ENTRY_HH__ 51 52#include "mem/packet.hh" 53 | 1/* 2 * Copyright (c) 2012-2013, 2015-2016 ARM Limited 3 * All rights reserved. 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 37 unchanged lines hidden (view full) --- 46 * Generic queue entry 47 */ 48 49#ifndef __MEM_CACHE_QUEUE_ENTRY_HH__ 50#define __MEM_CACHE_QUEUE_ENTRY_HH__ 51 52#include "mem/packet.hh" 53 |
54class Cache; | 54class BaseCache; |
55 56/** 57 * A queue entry base class, to be used by both the MSHRs and 58 * write-queue entries. 59 */ 60class QueueEntry : public Packet::SenderState 61{ 62 --- 34 unchanged lines hidden (view full) --- 97 {} 98 99 bool isUncacheable() const { return _isUncacheable; } 100 101 /** 102 * Send this queue entry as a downstream packet, with the exact 103 * behaviour depending on the specific entry type. 104 */ | 55 56/** 57 * A queue entry base class, to be used by both the MSHRs and 58 * write-queue entries. 59 */ 60class QueueEntry : public Packet::SenderState 61{ 62 --- 34 unchanged lines hidden (view full) --- 97 {} 98 99 bool isUncacheable() const { return _isUncacheable; } 100 101 /** 102 * Send this queue entry as a downstream packet, with the exact 103 * behaviour depending on the specific entry type. 104 */ |
105 virtual bool sendPacket(Cache &cache) = 0; | 105 virtual bool sendPacket(BaseCache &cache) = 0; |
106 107}; 108 109#endif // __MEM_CACHE_QUEUE_ENTRY_HH__ | 106 107}; 108 109#endif // __MEM_CACHE_QUEUE_ENTRY_HH__ |