mbed-os/platform
Kevin Bracey 703e44031c Add atomic loads and stores and barriers
Add atomic load and store functions, and add barriers to the existing atomic
functions.

File currently has no explicit barriers - we don't support SMP, so don't
need CPU barriers.

But we do need to worry about compiler barriers - particularly if link time
optimisation is activated so that the compiler can see inside these
functions. The assembler or intrinsics that access PRIMASK for
enter/exit critical act as barriers, but LDREX, STREX and simple
volatile pointer loads and stores do not.
2019-01-18 09:32:04 +02:00
..
ATCmdParser.cpp platform: add spdx license 2018-11-28 10:39:52 +00:00
ATCmdParser.h Add doxygen spellcheck jobs to Travis 2019-01-11 10:22:15 -06:00
CThunk.h platform: add spdx license 2018-11-28 10:39:52 +00:00
CThunkBase.cpp platform: add spdx license 2018-11-28 10:39:52 +00:00
CThunkBase.h platform: add spdx license 2018-11-28 10:39:52 +00:00
CallChain.cpp platform: add spdx license 2018-11-28 10:39:52 +00:00
CallChain.h platform: add spdx license 2018-11-28 10:39:52 +00:00
Callback.h platform: add spdx license 2018-11-28 10:39:52 +00:00
CircularBuffer.h platform: add spdx license 2018-11-28 10:39:52 +00:00
CriticalSectionLock.h platform: add spdx license 2018-11-28 10:39:52 +00:00
DeepSleepLock.h platform: add spdx license 2018-11-28 10:39:52 +00:00
DirHandle.h platform: add spdx license 2018-11-28 10:39:52 +00:00
FileBase.cpp platform: add spdx license 2018-11-28 10:39:52 +00:00
FileBase.h platform: add spdx license 2018-11-28 10:39:52 +00:00
FileHandle.cpp platform: add spdx license 2018-11-28 10:39:52 +00:00
FileHandle.h Add FileHandle::truncate and ftruncate 2018-12-14 19:29:28 +02:00
FileLike.h platform: add spdx license 2018-11-28 10:39:52 +00:00
FilePath.cpp platform: add spdx license 2018-11-28 10:39:52 +00:00
FilePath.h platform: add spdx license 2018-11-28 10:39:52 +00:00
FileSystemHandle.cpp platform: add spdx license 2018-11-28 10:39:52 +00:00
FileSystemHandle.h platform: add spdx license 2018-11-28 10:39:52 +00:00
FileSystemLike.h platform: add spdx license 2018-11-28 10:39:52 +00:00
FunctionPointer.h platform: add spdx license 2018-11-28 10:39:52 +00:00
LocalFileSystem.cpp platform: add spdx license 2018-11-28 10:39:52 +00:00
LocalFileSystem.h platform: add spdx license 2018-11-28 10:39:52 +00:00
NonCopyable.h platform: add spdx license 2018-11-28 10:39:52 +00:00
PlatformMutex.h platform: add spdx license 2018-11-28 10:39:52 +00:00
ScopedLock.h platform: add spdx license 2018-11-28 10:39:52 +00:00
ScopedRamExecutionLock.h Rename lock functions and classes 2018-11-27 09:29:32 +00:00
ScopedRomWriteLock.h Rename lock functions and classes 2018-11-27 09:29:32 +00:00
SharedPtr.h platform: add spdx license 2018-11-28 10:39:52 +00:00
SingletonPtr.h platform: add spdx license 2018-11-28 10:39:52 +00:00
Span.h platform: add spdx license 2018-11-28 10:39:52 +00:00
Stream.cpp Fix: Stream: Replace fflush() with fseek() 2018-12-10 14:31:30 +01:00
Stream.h platform: add spdx license 2018-11-28 10:39:52 +00:00
Transaction.h platform: add spdx license 2018-11-28 10:39:52 +00:00
astyle-branch.out platform: astyle update 2018-06-29 10:38:44 +01:00
critical.h Renamed files in platform to match source names 2017-02-22 18:17:54 -06:00
mbed_alloc_wrappers.cpp platform: add spdx license 2018-11-28 10:39:52 +00:00
mbed_application.c Merge pull request #9061 from kjbracey-arm/more_mpu_work 2018-12-19 12:32:54 -06:00
mbed_application.h platform: add spdx license 2018-11-28 10:39:52 +00:00
mbed_assert.c platform: add spdx license 2018-11-28 10:39:52 +00:00
mbed_assert.h platform: add spdx license 2018-11-28 10:39:52 +00:00
mbed_board.c Merge pull request #8855 from michalpasztamobica/warnings_fix 2018-12-03 13:31:55 +01:00
mbed_crash_data_offsets.h Fix crc calculation error, code-style issues and other fixes 2018-11-16 17:24:52 -06:00
mbed_critical.c Add atomic loads and stores and barriers 2019-01-18 09:32:04 +02:00
mbed_critical.h Add atomic loads and stores and barriers 2019-01-18 09:32:04 +02:00
mbed_debug.h platform: add spdx license 2018-11-28 10:39:52 +00:00
mbed_error.c Add more information to error url to enhance error analytics 2019-01-04 09:24:31 -06:00
mbed_error.h Add doxygen spellcheck jobs to Travis 2019-01-11 10:22:15 -06:00
mbed_error_hist.c platform: add spdx license 2018-11-28 10:39:52 +00:00
mbed_error_hist.h platform: add spdx license 2018-11-28 10:39:52 +00:00
mbed_interface.c platform: add spdx license 2018-11-28 10:39:52 +00:00
mbed_interface.h platform: add spdx license 2018-11-28 10:39:52 +00:00
mbed_lib.json Merge pull request #9188 from SenRamakri/sen_ErrorUrlEnhance 2019-01-10 00:12:46 -06:00
mbed_mem_trace.cpp platform: add spdx license 2018-11-28 10:39:52 +00:00
mbed_mem_trace.h platform: add spdx license 2018-11-28 10:39:52 +00:00
mbed_mktime.c platform: add spdx license 2018-11-28 10:39:52 +00:00
mbed_mktime.h platform: add spdx license 2018-11-28 10:39:52 +00:00
mbed_mpu_mgmt.c Rework MPU use option 2018-12-11 13:03:59 +02:00
mbed_mpu_mgmt.h Use MPU platform deinit rather than hal free 2018-12-11 18:59:58 +02:00
mbed_poll.cpp platform: add spdx license 2018-11-28 10:39:52 +00:00
mbed_poll.h platform: add spdx license 2018-11-28 10:39:52 +00:00
mbed_power_mgmt.h platform: add spdx license 2018-11-28 10:39:52 +00:00
mbed_preprocessor.h platform: add spdx license 2018-11-28 10:39:52 +00:00
mbed_retarget.cpp Add FileHandle::truncate and ftruncate 2018-12-14 19:29:28 +02:00
mbed_retarget.h Add FileHandle::truncate and ftruncate 2018-12-14 19:29:28 +02:00
mbed_rtc_time.cpp Add get/settimeofday retargets 2019-01-11 14:30:44 -06:00
mbed_rtc_time.h Fixed rtc doxygen spelling errors 2019-01-16 23:30:03 -06:00
mbed_sdk_boot.c platform: add spdx license 2018-11-28 10:39:52 +00:00
mbed_semihost_api.c platform: add spdx license 2018-11-28 10:39:52 +00:00
mbed_semihost_api.h platform: add spdx license 2018-11-28 10:39:52 +00:00
mbed_sleep.h Fix merge conflict mishap 2018-03-01 17:33:21 +00:00
mbed_sleep_manager.c Update the header files 2019-01-15 11:47:51 -06:00
mbed_stats.c Don't use define checks on DEVICE_FOO macros (mbed code) 2018-12-20 10:16:42 +11:00
mbed_stats.h Merge pull request #8888 from kegilbert/sys-struct-whitespace-patch 2018-12-03 13:40:36 +01:00
mbed_toolchain.h Add atomic loads and stores and barriers 2019-01-18 09:32:04 +02:00
mbed_version.h platform: add spdx license 2018-11-28 10:39:52 +00:00
mbed_wait_api.h platform: add spdx license 2018-11-28 10:39:52 +00:00
mbed_wait_api_no_rtos.c platform: add spdx license 2018-11-28 10:39:52 +00:00
mbed_wait_api_rtos.cpp rtos: fix style in rtos wait 2018-11-29 10:51:18 +00:00
platform.h platform: add spdx license 2018-11-28 10:39:52 +00:00
rtc_time.h Renamed files in platform to match source names 2017-02-22 18:17:54 -06:00
semihost_api.h Renamed files in platform to match source names 2017-02-22 18:17:54 -06:00
sleep.h Add system_reset() function to Mbed OS 2018-02-28 16:42:34 +00:00
toolchain.h platform: add spdx license 2018-11-28 10:39:52 +00:00
wait_api.h Renamed files in platform to match source names 2017-02-22 18:17:54 -06:00