summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorYao Zi <[email protected]>2025-09-02 08:19:32 +0000
committerLeo Yu-Chi Liang <[email protected]>2025-09-19 19:22:29 +0800
commita681cfecb4346107212f377e2075f6eb1bdc6a2b (patch)
tree8b0ab52b167fbe04b90fe22d0e37c1969f2c0fec /include
parent06b22f38af96ba9d347f2f70bc5ab8d41dd79312 (diff)
riscv: Add a Zalrsc-only alternative for synchronization in start.S
Add an alternative implementation that use Zalrsc extension only for HART lottery and SMP locking to support SMP on cores without "Zaamo" extension available. The Zaamo implementation is still prioritized if both of them are available, since it takes fewer instructions. Signed-off-by: Yao Zi <[email protected]> Reviewed-by: Leo Yu-Chi Liang <[email protected]>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions