HomeFreeBSD

arm64: add swapueword8/32

Description

arm64: add swapueword8/32

Much like casueword*, except just a plain old swap. Maintains a similar
interface to casu(9)- return value -1 (fault), 0 (success), or 1 (fail),
and also both ll/sc and LSE variants are implemented.

These will be used to implement 32-bit swp/swpb emulation on aarch64.

Reveiwed by: andrew
Sponsored by: Stormshield
Sponsored by: Klara, Inc.
Differential Revision: https://reviews.freebsd.org/D39837

Details

Provenance
kevansAuthored on May 11 2023, 6:23 PM
Differential Revision
D39837: arm64: add swapuword8/32
Parents
rG9244506a1b31: Cirrus-CI: hide manual tasks from official runs
Branches
Unknown
Tags
Unknown