mshr_queue.hh (11168:f98eb2da15a4) | mshr_queue.hh (11197:f8fdd931e674) |
---|---|
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 | 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 * @param alloc_on_fill Should the cache allocate a block on fill |
|
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, | 156 * 157 * @return The a pointer to the MSHR allocated. 158 * 159 * @pre There are free entries. 160 */ 161 MSHR *allocate(Addr blk_addr, unsigned blk_size, PacketPtr pkt, |
161 Tick when_ready, Counter order); | 162 Tick when_ready, Counter order, bool alloc_on_fill); |
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 --- | 163 164 /** 165 * Removes the given MSHR from the queue. This places the MSHR on the 166 * free list. 167 * @param mshr 168 */ 169 void deallocate(MSHR *mshr); 170 --- 92 unchanged lines hidden --- |