write_queue_entry.hh (11453:dd9763792521) write_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

--- 40 unchanged lines hidden (view full) ---

49#ifndef __MEM_CACHE_WRITE_QUEUE_ENTRY_HH__
50#define __MEM_CACHE_WRITE_QUEUE_ENTRY_HH__
51
52#include <list>
53
54#include "base/printable.hh"
55#include "mem/cache/queue_entry.hh"
56
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

--- 40 unchanged lines hidden (view full) ---

49#ifndef __MEM_CACHE_WRITE_QUEUE_ENTRY_HH__
50#define __MEM_CACHE_WRITE_QUEUE_ENTRY_HH__
51
52#include <list>
53
54#include "base/printable.hh"
55#include "mem/cache/queue_entry.hh"
56
57class Cache;
57class BaseCache;
58
59/**
60 * Write queue entry
61 */
62class WriteQueueEntry : public QueueEntry, public Printable
63{
64
65 /**

--- 30 unchanged lines hidden (view full) ---

96 const std::string &prefix) const;
97 };
98
99 /** A list of write queue entriess. */
100 typedef std::list<WriteQueueEntry *> List;
101 /** WriteQueueEntry list iterator. */
102 typedef List::iterator Iterator;
103
58
59/**
60 * Write queue entry
61 */
62class WriteQueueEntry : public QueueEntry, public Printable
63{
64
65 /**

--- 30 unchanged lines hidden (view full) ---

96 const std::string &prefix) const;
97 };
98
99 /** A list of write queue entriess. */
100 typedef std::list<WriteQueueEntry *> List;
101 /** WriteQueueEntry list iterator. */
102 typedef List::iterator Iterator;
103
104 bool sendPacket(Cache &cache);
104 bool sendPacket(BaseCache &cache);
105
106 private:
107
108 /**
109 * Pointer to this entry on the ready list.
110 * @sa MissQueue, WriteQueue::readyList
111 */
112 Iterator readyIter;

--- 81 unchanged lines hidden ---
105
106 private:
107
108 /**
109 * Pointer to this entry on the ready list.
110 * @sa MissQueue, WriteQueue::readyList
111 */
112 Iterator readyIter;

--- 81 unchanged lines hidden ---