60,64d59
<
< if (pkt->senderState)
< delete pkt->senderState;
<
< delete pkt->req;
87a83,86
> delete state;
> delete pkt->req;
> delete pkt;
> return;
645,646c644
< TheISA::IntReg convertedData =
< TheISA::htog(storeQueue[storeWBIdx].data);
---
> memcpy(inst->memData, storeQueue[storeWBIdx].data, req->getSize());
648,659d645
< //FIXME This is a hack to get SPARC working. It, along with endianness
< //in the memory system in general, need to be straightened out more
< //formally. The problem is that the data's endianness is swapped when
< //it's in the 64 bit data field in the store queue. The data that you
< //want won't start at the beginning of the field anymore unless it was
< //a 64 bit access.
< memcpy(inst->memData,
< (uint8_t *)&convertedData +
< (TheISA::ByteOrderDiffers ?
< (sizeof(TheISA::IntReg) - req->getSize()) : 0),
< req->getSize());
<