1/*
2 * Copyright (c) 2012-2013, 2015 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
--- 138 unchanged lines hidden (view full) ---
147 * Allocates a new MSHR for the request and size. This places the request
148 * as the first target in the MSHR.
149 *
150 * @param blk_addr The address of the block.
151 * @param blk_size The number of bytes to request.
152 * @param pkt The original miss.
153 * @param when_ready When should the MSHR be ready to act upon.
154 * @param order The logical order of this MSHR
155 *
156 * @return The a pointer to the MSHR allocated.
157 *
158 * @pre There are free entries.
159 */
160 MSHR *allocate(Addr blk_addr, unsigned blk_size, PacketPtr pkt,
161 Tick when_ready, Counter order);
162
163 /**
164 * Removes the given MSHR from the queue. This places the MSHR on the
165 * free list.
166 * @param mshr
167 */
168 void deallocate(MSHR *mshr);
169
--- 92 unchanged lines hidden ---
2 * Copyright (c) 2012-2013, 2015 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
--- 138 unchanged lines hidden (view full) ---
147 * Allocates a new MSHR for the request and size. This places the request
148 * as the first target in the MSHR.
149 *
150 * @param blk_addr The address of the block.
151 * @param blk_size The number of bytes to request.
152 * @param pkt The original miss.
153 * @param when_ready When should the MSHR be ready to act upon.
154 * @param order The logical order of this MSHR
155 *
156 * @return The a pointer to the MSHR allocated.
157 *
158 * @pre There are free entries.
159 */
160 MSHR *allocate(Addr blk_addr, unsigned blk_size, PacketPtr pkt,
161 Tick when_ready, Counter order);
162
163 /**
164 * Removes the given MSHR from the queue. This places the MSHR on the
165 * free list.
166 * @param mshr
167 */
168 void deallocate(MSHR *mshr);
169
--- 92 unchanged lines hidden ---