aboutsummaryrefslogtreecommitdiff
path: root/lib/utils/cppc
diff options
context:
space:
mode:
authorChao-ying Fu <icebergfu@gmail.com>2025-05-19 17:42:06 +0530
committerAnup Patel <anup@brainfault.org>2025-05-20 09:18:03 +0530
commit8a3071222ae57e7a1736c6e953fa1ab3628e599e (patch)
treeef106bf950acf1308fca99c24043e49c13fdf918 /lib/utils/cppc
parent017a161788310ef515831821f14597e657512f97 (diff)
downloadopensbi-8a3071222ae57e7a1736c6e953fa1ab3628e599e.zip
opensbi-8a3071222ae57e7a1736c6e953fa1ab3628e599e.tar.gz
opensbi-8a3071222ae57e7a1736c6e953fa1ab3628e599e.tar.bz2
lib: Emulate AMO instructions when Zaamo is not available
The AMO instructions are very critical for Linux so allow low-end RISC-V implementations without Zaamo to boot Linux by emulating AMO instructions using Zalrsc when OpenSBI is compiled without Zaamo. Signed-off-by: Chao-ying Fu <cfu@mips.com> Signed-off-by: Anup Patel <apatel@ventanamicro.com> Link: https://lore.kernel.org/r/20250519121207.976949-1-apatel@ventanamicro.com Signed-off-by: Anup Patel <anup@brainfault.org>
Diffstat (limited to 'lib/utils/cppc')
0 files changed, 0 insertions, 0 deletions