1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-21 12:33:49 +01:00

4 Commits

Author SHA1 Message Date
Marian Buschsieweke
87af1a4b58
cpu/native: fix lockup on libucontext
The `setcontext()` implementation of glibc does restore the signal
mask to the target thread during the switch, libucontext [does not][1]

[1]: https://man.archlinux.org/man/libucontext.3.en#CAVEATS

Instead, we just manually enable signals again just before the call
to `setcontext()`.

With this, tests like `tests/core/mutex_canel` or `tests/core/irq` now
pass on `native64` when using libucontext.

Co-authored-by: crasbe <crasbe@gmail.com>
2025-11-26 12:43:09 +01:00
krzysztof-cabaj
fd36921a29 cpu/native: move licenses to SPDX format 2025-09-25 17:48:55 +02:00
Oleg Hahm
af6da3457b cpu/native: use correct isr_stack for valgrind
In 90a3f3ffcc3ae25f07ba5ac9fe2d1444cf7c26ea the ISR stack variable got
renamed from __isr_stack to _isr_stack but the valgrind configuration
hasn't been updated.
2025-05-16 12:23:19 +02:00
carl
e95be58fb9 cpu/native: rename native_cpu.c, irq_cpu.c, tramp.S 2025-03-11 16:19:39 +01:00