locked_mem.hh (10574:95297ec0f14b) | 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 --- 121 unchanged lines hidden (view full) --- 130 // store conditional failed already, so don't issue it to mem 131 return false; 132 } 133 } 134 135 return true; 136} 137 | 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 --- 121 unchanged lines hidden (view full) --- 130 // store conditional failed already, so don't issue it to mem 131 return false; 132 } 133 } 134 135 return true; 136} 137 |
138template <class XC> 139inline void 140globalClearExclusive(XC *xc) 141{ 142 xc->getCpuPtr()->wakeup(xc->threadId()); 143} 144 |
|
138} // namespace AlphaISA 139 140#endif // __ARCH_ALPHA_LOCKED_MEM_HH__ | 145} // namespace AlphaISA 146 147#endif // __ARCH_ALPHA_LOCKED_MEM_HH__ |