Created by: semihalf-kardach-stanislaw
Add RISC-V implementation of most atomic functions. Several are left unimplemented (the exchange variants), only containing a non-atomic logic as a reminder of what the given function should do.
Issue: #3544
Signed-off-by: Stanislaw Kardach kda@semihalf.com