ExtMaster.cc (10779:3e986011e99e) ExtMaster.cc (11158:a84eecaaa866)
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

--- 151 unchanged lines hidden (view full) ---

160 case FetchXResp:
161 out.fatal(CALL_INFO, 1, "Don't know how to convert "
162 "SST command %s to gem5\n",
163 CommandString[cmdI]);
164 }
165
166 Request::FlagsType flags = 0;
167 if (ev->queryFlag(MemEvent::F_LOCKED))
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

--- 151 unchanged lines hidden (view full) ---

160 case FetchXResp:
161 out.fatal(CALL_INFO, 1, "Don't know how to convert "
162 "SST command %s to gem5\n",
163 CommandString[cmdI]);
164 }
165
166 Request::FlagsType flags = 0;
167 if (ev->queryFlag(MemEvent::F_LOCKED))
168 flags |= Request::LOCKED;
168 flags |= Request::LOCKED_RMW;
169 if (ev->queryFlag(MemEvent::F_NONCACHEABLE))
170 flags |= Request::UNCACHEABLE;
171 if (ev->isLoadLink()) {
172 assert(cmdI == GetS);
173 cmdO = MemCmd::LoadLockedReq;
174 } else if (ev->isStoreConditional()) {
175 assert(cmdI == GetX);
176 cmdO = MemCmd::StoreCondReq;

--- 64 unchanged lines hidden ---
169 if (ev->queryFlag(MemEvent::F_NONCACHEABLE))
170 flags |= Request::UNCACHEABLE;
171 if (ev->isLoadLink()) {
172 assert(cmdI == GetS);
173 cmdO = MemCmd::LoadLockedReq;
174 } else if (ev->isStoreConditional()) {
175 assert(cmdI == GetX);
176 cmdO = MemCmd::StoreCondReq;

--- 64 unchanged lines hidden ---