Commit Graph

13 Commits (5a20d07c21b74181b88d76fda16fd83a4718ec49)

Author SHA1 Message Date
Merry 5a20d07c21 atomic_ops: Fix MSVC 2 years ago
Merry 9f91d310c6 atomic_ops: Remove volatile qualifier 2 years ago
Merry 6527c0d2fc atomic_ops: Reduce code duplication with templates
Also fixes builds on unusual toolchains where:
- u32 is unsigned int
- u64 is unsigned long long
- uintptr_t is unsigned long
2 years ago
Morph 99ceb03a1c general: Convert source file copyright comments over to SPDX
This formats all copyright comments according to SPDX formatting guidelines.
Additionally, this resolves the remaining GPLv2 only licensed files by relicensing them to GPLv2.0-or-later.
4 years ago
merry 084bd225dc atomic_ops: Implement AtomicCompareAndSwap with writeback 4 years ago
Merry b4746529e1 atomic_ops: Implement AtomicLoad128 4 years ago
ameerj 866b7c20a8 general: Fix clang/gcc build errors 4 years ago
ameerj 923decae5a common: Reduce unused includes 4 years ago
Fernando Sahmkow 53d92318b8 X86/NativeClock: Reimplement RTDSC access to be lock free. 5 years ago
Lioncash df72480395 common: Make use of [[nodiscard]] where applicable
Now that clang-format makes [[nodiscard]] attributes format sensibly, we
can apply them to several functions within the common library to allow
the compiler to complain about any misuses of the functions.
6 years ago
Lioncash e3f0c93230 common/atomic_ops: Don't cast away volatile from pointers
Preserves the volatility of the pointers being casted.
6 years ago
Fernando Sahmkow 467d43570e Clang Format. 6 years ago
Fernando Sahmkow cd1c38be8d ARM/Memory: Correct Exclusive Monitor and Implement Exclusive Memory Writes. 6 years ago