1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/sys
Marian Buschsieweke 5ecafab83d
sys/pm: Correctly access pm_blocker
Replace `volatile` access to pm_blocker by guarding the accesses with
`irq_disable()` ... `irq_restore()`.

`volatile` does only guarantee that no compiler optimizations are performed on
a variable access, but does not provide atomic access. E.g. on systems with
a memory bus of less than 32 bit, the access to pm_blocker cannot be done
with a single CPU instruction. Thus, resorting to disabling IRQs is the easiest
and most portable way to actually achieve atomic access.
2020-07-15 11:21:59 +02:00
..
analog_util
app_metadata sys/app_metadata: Add app_metadata module 2019-03-05 16:10:06 +01:00
arduino sys/arduino: include arduino_sketches in Makefile.dep 2020-06-25 11:02:02 +02:00
auto_init drivers/sdcard_spi: remove auto-init 2020-07-09 08:50:53 +02:00
base64 sys/base64: Improved implementation 2020-07-06 09:16:24 +02:00
benchmark
bitfield many typo fixes 2019-11-23 22:39:07 +01:00
bloom
can sys/can/conn: Fixup unused code 2020-02-07 13:35:25 +01:00
cb_mux sys/cb_mux/cb_mux.c: fix cpp.check shiftTooManyBitsSigned 2019-11-21 11:58:07 +01:00
checksum sys/checksum: add crc8 implementation 2019-12-13 14:50:32 +01:00
clif sys/clif: use ARRAY_SIZE 2019-11-23 22:39:40 +01:00
color
cpp11-compat sys/cpp11-compat: fix typos 2019-11-23 22:39:37 +01:00
crypto sys/crypto/modes/ccm: accept input_len=0 2020-04-10 10:41:01 +02:00
div
ecc sys/ecc: fix assertion in golay2412 2020-02-20 13:24:14 +01:00
eepreg
embunit sys/embunit: fix typos 2019-11-23 22:39:37 +01:00
event Makefile: remove usage of SUBMODULES_NOFORCE 2020-04-15 12:11:44 +02:00
evtimer sys/evtimer: make use of xtimer_left_usec() 2020-04-21 11:26:56 +02:00
fmt sys/fmt: add fmt_hex_bytes size probing 2020-05-12 17:39:25 +02:00
frac core/shed: remove not needed bitarithm include add missing 2020-02-05 12:45:29 +01:00
fs devfs: add /dev/{urandom,hwrng} with random/hwrng 2019-05-29 15:50:25 +02:00
fuzzing sys/fuzzing: Initialize 2020-04-07 17:48:39 +02:00
hashes sys/hashes: inline functions in sha224/sha256 2020-06-10 10:00:30 +02:00
include net/credman : Update documentation 2020-07-14 21:26:19 +05:30
iolist add copyrights from IOTPUSH project 2019-05-02 12:09:37 +02:00
irq_handler sys/irq_handler: fix typos 2019-11-23 22:39:38 +01:00
isrpipe isrpipe: change API to be in line with tsrb 2019-06-05 18:13:57 +02:00
libc/include/sys
log sys/log: add colored logging module 2019-09-09 20:27:16 +02:00
luid sys/luid: provide luid_get_lb(), fix documentation 2020-05-13 20:47:53 +02:00
matstat
memarray memarray: fix memarray init 2020-03-09 17:56:34 +01:00
mineplex
net net/credman : Expose to Kconfig 2020-07-14 21:26:19 +05:30
newlib_syscalls_default sys/newlib: update heap_stats for multiple heaps 2020-02-29 12:24:39 +01:00
od sys/od/od: fix -Werror=char-subscripts 2020-06-19 10:44:56 +02:00
oneway-malloc sys/oneway-malloc: fix typos 2019-11-23 22:39:38 +01:00
phydat sys/phydat: added phydat_to_json converter 2020-05-20 15:29:24 +02:00
pipe sys/pipe: always include stdlib.h instead of malloc.h 2019-09-17 20:43:33 +02:00
pm_layered sys/pm: Correctly access pm_blocker 2020-07-15 11:21:59 +02:00
posix posix_select: initial import of select() function 2020-07-01 18:10:26 +02:00
progress_bar sys/progress_bar: add module for configurable progress bars 2019-12-02 16:48:16 +01:00
ps Merge pull request #11828 from benemorius/pr/ps-free-mem 2020-06-26 09:01:29 +02:00
puf_sram sys/puf_sram: counter based reseed after soft reset 2020-01-20 14:14:09 +01:00
quad_math
random Merge pull request #14453 from benpicco/sys/random-hwrng 2020-07-08 19:30:36 +02:00
riotboot sys/riotboot: provide riotboot_slot_offset() 2020-02-19 10:04:52 +01:00
saul_reg
schedstatistics sys/schedstatistics: handle if PIDs are KERNEL_PID_UNDEF 2020-06-25 16:02:28 +02:00
sema
seq
shell sys/shell/sc_nimble_netif: cleanup timing params 2020-07-08 08:46:43 +02:00
ssp sys/ssp: use a random value as the canary 2020-01-20 14:51:26 +01:00
stdio_null sys: stdio_null: add null driver 2019-11-26 21:12:41 +01:00
stdio_rtt
stdio_semihosting stdio_semihosting: Initial include of Semihosting-based STDIO 2020-06-09 10:15:49 +02:00
stdio_uart drivers: sys: replace USE_ETHOS_FOR_STDIO macro by MODULE_STDIO_ETHOS 2019-06-23 22:16:03 +02:00
suit net/coap: Move COAP_MAX_RETRANSMIT to 'CONFIG' namespace 2020-04-24 10:06:43 +02:00
test_utils sys/test_utils/dummy_thread: initial commit 2020-06-09 13:25:14 +02:00
timex
trace sys/trace: initial commit 2020-06-10 21:21:33 +02:00
trickle sys/trickle: remove redundant pid assignment 2020-02-21 13:26:24 +01:00
tsrb tsrb: remove now unnecessary cast 2019-06-05 17:10:26 +02:00
universal_address sys/universal_address: fix typos 2019-11-23 22:39:38 +01:00
uri_parser Merge pull request #13804 from chrysn-pull-requests/uri-test-isabsolute 2020-04-05 13:42:11 +02:00
usb Merge pull request #14404 from benpicco/sys/usb_board_reset_in_bootloader 2020-07-01 13:49:59 +02:00
usb_board_reset sys/usb_board_reset: add usb_board_reset_in_bootloader definition 2020-07-01 10:30:17 +02:00
uuid
vfs vfs: provide function to get internal file information by fd 2020-07-01 13:36:25 +02:00
xtimer sys/xtimer/xtimer.c: new function xtimer_rmutex_lock_timeout() 2020-05-04 17:46:31 +02:00
zptr sys: zptr: initial commit 2020-02-11 13:59:59 +01:00
ztimer Merge pull request #14123 from jue89/fix/ztimer_pseudomodules 2020-06-24 22:56:07 +02:00
doc.txt sys/doc: add net_lorawan group 2019-04-12 15:51:15 +02:00
Kconfig Kconfig: Expose USB peripheral configurations 2020-01-14 10:34:53 +01:00
Makefile cord: add RD lookup client 2020-07-07 10:54:10 +02:00
Makefile.dep sys/shell: Added shell command "dfplayer" 2020-06-28 21:06:49 +02:00
Makefile.include ztimer_xtimer_compat: move PSEUDOMODULES definition to Makefile.include 2020-05-23 16:50:24 +02:00