locked_mem.hh (11435:0f1b46dde3fa) locked_mem.hh (12218:8c5db15dc8e7)
1/*
2 * Copyright (c) 2012 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

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

134 // store conditional failed already, so don't issue it to mem
135 return false;
136 }
137 }
138
139 return true;
140}
141
1/*
2 * Copyright (c) 2012 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

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

134 // store conditional failed already, so don't issue it to mem
135 return false;
136 }
137 }
138
139 return true;
140}
141
142template <class XC>
143inline void
144globalClearExclusive(XC *xc)
145{
146 xc->getCpuPtr()->wakeup(xc->threadId());
147}
148
142} // namespace MipsISA
143
144#endif
149} // namespace MipsISA
150
151#endif