HomeFreeBSD

riscv: Add macro for hfence.gvma instruction

Description

riscv: Add macro for hfence.gvma instruction

Add an inline function hfence_gvma() for hfence.gvma instruction.

Signed-off-by: Doongar Singh <doonbsd@gmail.com>
Reviewed by: mhorne, markj
Differential Revision: https://reviews.freebsd.org/D54857

Details

Provenance
doonbsd_gmail.comAuthored on Jan 26 2026, 4:18 PM
mhorneCommitted on Jan 26 2026, 4:23 PM
Reviewer
mhorne
Differential Revision
D54857: riscv: Add macro for hfence.gvma instruction
Parents
rGe769bc771843: sym(4): Employ memory barriers also on x86
Branches
Unknown
Tags
Unknown