embassy/embassy-rp
Dario Nieuwenhuis 0c18a13cc0 rp/multicore: fix undefined behavior in multicore spawn.
It is UB to pass `entry` to core1 as `&mut`, because core0 keeps
an aliasing pointer to that memory region, and actually writes to
it (when `spawn_core1` returns, the stack frame gets deallocated and the memory
gets reused). This violates noalias requirements.

Added the fence just in case, een though it works without.
2023-05-16 01:21:28 +02:00
..
src rp/multicore: fix undefined behavior in multicore spawn. 2023-05-16 01:21:28 +02:00
build.rs Fix all warnings on embassy-rp and embassy-rp-examples and 2021-05-20 08:32:26 +10:00
Cargo.toml Merge branch 'master' into master 2023-05-09 17:55:27 -04:00
funcsel.txt rp: add initial version 2021-03-29 21:35:25 +02:00
link-rp.x.in rp: add precompiled boot2 to avoid depending on gcc 2021-03-29 22:28:36 +02:00