diff options
author | Anup Patel <anup.patel@wdc.com> | 2019-01-21 14:23:46 +0300 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2019-01-21 18:42:48 +0300 |
commit | 1ee745fe57c3ad9db64bb31564f21a4fab101f22 (patch) | |
tree | f2becf650d53144455d26636a58e2adb2c091967 /firmware/fw_base.S | |
parent | b5be19f9e5c8f25b07375429aa5d00895a8645cc (diff) | |
download | opensbi-1ee745fe57c3ad9db64bb31564f21a4fab101f22.tar.xz |
lib: Use AMO instructions whenever __riscv_atomic is defined
We should use AMO instructions whenever __riscv_atomic is
defined (i.e. atomics are supported). We use LR/SC only when
__riscv_atomic is not defined.
Signed-off-by: Anup Patel <anup.patel@wdc.com>
Diffstat (limited to 'firmware/fw_base.S')
0 files changed, 0 insertions, 0 deletions