1/* 2 * Copyright (c) 2004-2005 The Regents of The University of Michigan 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 635 unchanged lines hidden (view full) --- 644 645 assert(!inst->memData); 646 inst->memData = new uint8_t[64]; 647 648 memcpy(inst->memData, storeQueue[storeWBIdx].data, req->getSize()); 649 650 MemCmd command = 651 req->isSwap() ? MemCmd::SwapReq : |
652 (req->isLocked() ? MemCmd::StoreCondReq : MemCmd::WriteReq); |
653 PacketPtr data_pkt = new Packet(req, command, 654 Packet::Broadcast); 655 data_pkt->dataStatic(inst->memData); 656 657 LSQSenderState *state = new LSQSenderState; 658 state->isLoad = false; 659 state->idx = storeWBIdx; 660 state->inst = inst; --- 351 unchanged lines hidden --- |