lsq.cc (10824:308771bd2647) | lsq.cc (11056:842f56345a42) |
---|---|
1/* 2 * Copyright (c) 2013-2014 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 --- 1564 unchanged lines hidden (view full) --- 1573 1574void 1575LSQ::LSQRequest::makePacket() 1576{ 1577 /* Make the function idempotent */ 1578 if (packet) 1579 return; 1580 | 1/* 2 * Copyright (c) 2013-2014 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 --- 1564 unchanged lines hidden (view full) --- 1573 1574void 1575LSQ::LSQRequest::makePacket() 1576{ 1577 /* Make the function idempotent */ 1578 if (packet) 1579 return; 1580 |
1581 // if the translation faulted, do not create a packet 1582 if (fault != NoFault) { 1583 assert(packet == NULL); 1584 return; 1585 } 1586 |
|
1581 packet = makePacketForRequest(request, isLoad, this, data); 1582 /* Null the ret data so we know not to deallocate it when the 1583 * ret is destroyed. The data now belongs to the ret and 1584 * the ret is responsible for its destruction */ 1585 data = NULL; 1586} 1587 1588std::ostream & --- 28 unchanged lines hidden --- | 1587 packet = makePacketForRequest(request, isLoad, this, data); 1588 /* Null the ret data so we know not to deallocate it when the 1589 * ret is destroyed. The data now belongs to the ret and 1590 * the ret is responsible for its destruction */ 1591 data = NULL; 1592} 1593 1594std::ostream & --- 28 unchanged lines hidden --- |