ExtMaster.cc (11428:20264eb69fbf) | ExtMaster.cc (11429:cf5af0cc3be4) |
---|---|
1// Copyright (c) 2015 ARM Limited 2// All rights reserved. 3// 4// The license below extends only to copyright in the software and shall 5// not be construed as granting a license to any other intellectual 6// property including but not limited to intellectual property relating 7// to a hardware implementation of the functionality of the software 8// licensed hereunder. You may use the software subject to the license --- 163 unchanged lines hidden (view full) --- 172 assert(cmdI == GetS); 173 cmdO = MemCmd::LoadLockedReq; 174 } else if (ev->isStoreConditional()) { 175 assert(cmdI == GetX); 176 cmdO = MemCmd::StoreCondReq; 177 } 178 179 auto req = new Request(ev->getAddr(), ev->getSize(), flags, 0); | 1// Copyright (c) 2015 ARM Limited 2// All rights reserved. 3// 4// The license below extends only to copyright in the software and shall 5// not be construed as granting a license to any other intellectual 6// property including but not limited to intellectual property relating 7// to a hardware implementation of the functionality of the software 8// licensed hereunder. You may use the software subject to the license --- 163 unchanged lines hidden (view full) --- 172 assert(cmdI == GetS); 173 cmdO = MemCmd::LoadLockedReq; 174 } else if (ev->isStoreConditional()) { 175 assert(cmdI == GetX); 176 cmdO = MemCmd::StoreCondReq; 177 } 178 179 auto req = new Request(ev->getAddr(), ev->getSize(), flags, 0); |
180 req->setContext(ev->getGroupId()); | 180 req->setThreadContext(ev->getGroupId(), 0); |
181 182 auto pkt = new Packet(req, cmdO); 183 pkt->allocate(); 184 if (data) { 185 pkt->setData(ev->getPayload().data()); 186 } 187 pkt->pushSenderState(new SenderState(ev)); 188 --- 52 unchanged lines hidden --- | 181 182 auto pkt = new Packet(req, cmdO); 183 pkt->allocate(); 184 if (data) { 185 pkt->setData(ev->getPayload().data()); 186 } 187 pkt->pushSenderState(new SenderState(ev)); 188 --- 52 unchanged lines hidden --- |