mbed-os/UNITTESTS/stubs
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_stub.cpp LoRa regions unittested, stubs licences revisited 2018-09-27 10:49:07 +03:00
ATHandler_stub.cpp cellular: AT Handler API changes after review 2018-12-14 13:19:03 +02:00
ATHandler_stub.h cellular: registration status change fix 2018-11-26 11:20:21 +02:00
AT_CellularBase_stub.cpp cellular: AT Handler API 2018-12-14 13:19:03 +02:00
AT_CellularBase_stub.h LoRa regions unittested, stubs licences revisited 2018-09-27 10:49:07 +03:00
AT_CellularContext_stub.cpp unittest: fix stubs coding style 2018-11-15 10:47:14 +00:00
AT_CellularDevice_stub.cpp cellular: AT Handler API changes after review 2018-12-14 13:19:03 +02:00
AT_CellularInformation_stub.cpp LoRa regions unittested, stubs licences revisited 2018-09-27 10:49:07 +03:00
AT_CellularMultiplexer_stub.cpp LoRa regions unittested, stubs licences revisited 2018-09-27 10:49:07 +03:00
AT_CellularNetwork_stub.cpp Cellular: fixing unit test after refactor. 2018-11-11 14:12:49 +02:00
AT_CellularPower_stub.cpp LoRa regions unittested, stubs licences revisited 2018-09-27 10:49:07 +03:00
AT_CellularSIM_stub.cpp LoRa regions unittested, stubs licences revisited 2018-09-27 10:49:07 +03:00
AT_CellularSMS_stub.cpp LoRa regions unittested, stubs licences revisited 2018-09-27 10:49:07 +03:00
AT_CellularStack_stub.cpp Cellular: adding unit tests for new class CellularContext and changed classes. 2018-11-16 13:14:38 +02:00
BufferedBlockDevice_stub.cpp LoRa regions unittested, stubs licences revisited 2018-09-27 10:49:07 +03:00
CellularDevice_stub.cpp Cellular: adding unit tests for new class CellularContext and changed classes. 2018-11-16 13:14:38 +02:00
CellularDevice_stub.h Cellular: adding unit tests for new class CellularContext and changed classes. 2018-11-16 13:14:38 +02:00
CellularStateMachine_stub.cpp Cellular: adding unit tests for new class CellularContext and changed classes. 2018-11-16 13:14:38 +02:00
CellularStateMachine_stub.h astyles fixes for UNITESTS. 2018-11-16 13:14:38 +02:00
CellularUtil_stub.cpp LoRa regions unittested, stubs licences revisited 2018-09-27 10:49:07 +03:00
ChainingBlockDevice_stub.cpp LoRa regions unittested, stubs licences revisited 2018-09-27 10:49:07 +03:00
EventFlags_stub.cpp unittests: fix astyle 2018-10-25 09:58:18 +01:00
EventQueue_stub.cpp Update the unit test stubs as per API changes 2018-12-27 15:44:32 -06:00
EventQueue_stub.h unittests: fix astyle 2018-10-25 09:58:18 +01:00
ExhaustibleBlockDevice_stub.cpp LoRa regions unittested, stubs licences revisited 2018-09-27 10:49:07 +03:00
FileHandle_stub.cpp Add unit testing framework 2018-08-27 14:32:35 +03:00
FileHandle_stub.h filehandle test: fix coding style 2018-11-15 07:20:12 +00:00
FlashSimBlockDevice_stub.cpp LoRa regions unittested, stubs licences revisited 2018-09-27 10:49:07 +03:00
HeapBlockDevice_stub.cpp LoRa regions unittested, stubs licences revisited 2018-09-27 10:49:07 +03:00
Kernel_stub.cpp LoRa regions unittested, stubs licences revisited 2018-09-27 10:49:07 +03:00
LoRaMacChannelPlan_stub.cpp unittests: fix astyle 2018-10-25 09:58:18 +01:00
LoRaMacCommand_stub.cpp unittests: fix astyle 2018-10-25 09:58:18 +01:00
LoRaMacCommand_stub.h unittests: fix astyle 2018-10-25 09:58:18 +01:00
LoRaMacCrypto_stub.cpp unittests: fix astyle 2018-10-25 09:58:18 +01:00
LoRaMacCrypto_stub.h unittests: fix astyle 2018-10-25 09:58:18 +01:00
LoRaMac_stub.cpp Unit Test Fixes for LoRaWAN 2018-10-16 12:23:21 +03:00
LoRaMac_stub.h unittests: fix astyle 2018-10-25 09:58:18 +01:00
LoRaPHYEU868_stub.cpp LoRa regions unittested, stubs licences revisited 2018-09-27 10:49:07 +03:00
LoRaPHY_stub.cpp Updating get_rx_window_params() API in stubs 2018-12-10 08:53:30 +02:00
LoRaPHY_stub.h unittests: fix astyle 2018-10-25 09:58:18 +01:00
LoRaWANStack_stub.cpp LoRAWAN: volatile bool -> atomic_flag 2019-01-14 11:59:25 +02:00
LoRaWANTimer_stub.cpp unittests: fix astyle 2018-10-25 09:58:18 +01:00
LoRaWANTimer_stub.h unittests: fix astyle 2018-10-25 09:58:18 +01:00
MBRBlockDevice_stub.cpp unittests: fix astyle 2018-10-25 09:58:18 +01:00
Mutex_stub.cpp Small improvements for test cases 2018-09-17 12:07:43 +03:00
NetworkInterface_stub.cpp LoRa regions unittested, stubs licences revisited 2018-09-27 10:49:07 +03:00
NetworkStack_stub.cpp LoRa regions unittested, stubs licences revisited 2018-09-27 10:49:07 +03:00
NetworkStack_stub.h Astyle fixes 2018-11-19 15:31:31 +02:00
ObservingBlockDevice_stub.cpp LoRa regions unittested, stubs licences revisited 2018-09-27 10:49:07 +03:00
ProfilingBlockDevice_stub.cpp LoRa regions unittested, stubs licences revisited 2018-09-27 10:49:07 +03:00
ReadOnlyBlockDevice_stub.cpp LoRa regions unittested, stubs licences revisited 2018-09-27 10:49:07 +03:00
Semaphore_stub.cpp Cellular: adding unit tests for new class CellularContext and changed classes. 2018-11-16 13:14:38 +02:00
Semaphore_stub.h Cellular: adding unit tests for new class CellularContext and changed classes. 2018-11-16 13:14:38 +02:00
SerialBase_stub.cpp Cellular: fixing unit test after refactor. 2018-11-11 14:12:49 +02:00
SlicingBlockDevice_stub.cpp LoRa regions unittested, stubs licences revisited 2018-09-27 10:49:07 +03:00
SocketAddress_stub.cpp LoRa regions unittested, stubs licences revisited 2018-09-27 10:49:07 +03:00
SocketStats_Stub.cpp Make sure no memory overhead if statistics are disabled 2018-11-26 09:42:45 -06:00
ThisThread_stub.cpp Clean up Thread deprecation warnings 2018-10-12 14:57:13 +03:00
Thread_stub.cpp cellular unittests ported to googletest framework 2018-09-17 12:07:43 +03:00
Timer_stub.cpp cellular unittests ported to googletest framework 2018-09-17 12:07:43 +03:00
Timer_stub.h LoRa regions unittested, stubs licences revisited 2018-09-27 10:49:07 +03:00
UARTSerial_stub.cpp Cellular: adding unit tests for new class CellularContext and changed classes. 2018-11-16 13:14:38 +02:00
aes_stub.c unittests: fix astyle 2018-10-25 09:58:18 +01:00
aes_stub.h LoRaMacCrypto unittested 2018-09-27 10:49:07 +03:00
cipher_stub.c unittests: fix astyle 2018-10-25 09:58:18 +01:00
cipher_stub.h LoRaMacCrypto unittested 2018-09-27 10:49:07 +03:00
cmac_stub.c unittests: fix astyle 2018-10-25 09:58:18 +01:00
cmac_stub.h LoRaMacCrypto unittested 2018-09-27 10:49:07 +03:00
equeue_stub.c Update the unit test stubs as per API changes 2018-12-27 15:44:32 -06:00
equeue_stub.h LoRaWANStack unit tested 2018-09-27 11:30:52 +03:00
ip4tos_stub.c LoRa regions unittested, stubs licences revisited 2018-09-27 10:49:07 +03:00
mbed_assert_stub.c LoRa regions unittested, stubs licences revisited 2018-09-27 10:49:07 +03:00
mbed_critical_stub.c Add atomic loads and stores and barriers 2019-01-18 09:32:04 +02:00
mbed_poll_stub.cpp LoRa regions unittested, stubs licences revisited 2018-09-27 10:49:07 +03:00
mbed_poll_stub.h LoRa regions unittested, stubs licences revisited 2018-09-27 10:49:07 +03:00
mbed_shared_queues_stub.cpp unittests: Add tests for NetworkStack class. 2018-09-21 14:23:06 +03:00
mbed_wait_api_stub.cpp LoRa regions unittested, stubs licences revisited 2018-09-27 10:49:07 +03:00
nsapi_dns_stub.cpp unittests: Add tests for NetworkStack class. 2018-09-21 14:23:06 +03:00
nvic_wrapper_stub.c LoRa regions unittested, stubs licences revisited 2018-09-27 10:49:07 +03:00
randLIB_stub.c LoRa regions unittested, stubs licences revisited 2018-09-27 10:49:07 +03:00
randLIB_stub.cpp LoRa regions unittested, stubs licences revisited 2018-09-27 10:49:07 +03:00
stoip4_stub.c LoRa regions unittested, stubs licences revisited 2018-09-27 10:49:07 +03:00
us_ticker_stub.cpp cellular unittests ported to googletest framework 2018-09-17 12:07:43 +03:00