HomeFreeBSD

riscv: Implement atomic operations

Description

riscv: Implement atomic operations

Implement atomic_load_acq_16, atomic_store_rel_16.

These are needed by bhyve(8) PCIe bus emulation code.

Group 16-bit atomic functions similarly to 32 and 64-bit.

Reviewed by: mhorne
Differential Revision: https://reviews.freebsd.org/D45228

Details

Provenance
brAuthored on Wed, May 22, 3:07 PM
Reviewer
mhorne
Differential Revision
D45228: Implement atomic_load_acq_16
Parents
rGddd0d4f4cd65: riscv: Fix SSTC extension support
Branches
Unknown
Tags
Unknown