mshr_queue.cc (11375:f98df9231cdd) mshr_queue.cc (12637:bfc3cb9c7e6c)
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

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

42 */
43
44/** @file
45 * Definition of MSHRQueue class functions.
46 */
47
48#include "mem/cache/mshr_queue.hh"
49
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

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

42 */
43
44/** @file
45 * Definition of MSHRQueue class functions.
46 */
47
48#include "mem/cache/mshr_queue.hh"
49
50using namespace std;
51
52MSHRQueue::MSHRQueue(const std::string &_label,
53 int num_entries, int reserve, int demand_reserve)
54 : Queue<MSHR>(_label, num_entries, reserve),
55 demandReserve(demand_reserve)
56{}
57
58MSHR *
59MSHRQueue::allocate(Addr blk_addr, unsigned blk_size, PacketPtr pkt,

--- 61 unchanged lines hidden ---
50MSHRQueue::MSHRQueue(const std::string &_label,
51 int num_entries, int reserve, int demand_reserve)
52 : Queue<MSHR>(_label, num_entries, reserve),
53 demandReserve(demand_reserve)
54{}
55
56MSHR *
57MSHRQueue::allocate(Addr blk_addr, unsigned blk_size, PacketPtr pkt,

--- 61 unchanged lines hidden ---