mshr_queue.cc (12637:bfc3cb9c7e6c) | mshr_queue.cc (12727:56c23b54bcb1) |
---|---|
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 |
50#include <cassert> 51 52#include "mem/cache/mshr.hh" 53 |
|
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 --- | 54MSHRQueue::MSHRQueue(const std::string &_label, 55 int num_entries, int reserve, int demand_reserve) 56 : Queue<MSHR>(_label, num_entries, reserve), 57 demandReserve(demand_reserve) 58{} 59 60MSHR * 61MSHRQueue::allocate(Addr blk_addr, unsigned blk_size, PacketPtr pkt, --- 61 unchanged lines hidden --- |