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

(cherry picked from commit 972c488bf4117d9eb29e5753c6c5a2250154df3d)

Details

Provenance
doonbsd_gmail.comAuthored on Jan 26 2026, 4:18 PM
mhorneCommitted on Feb 9 2026, 7:38 PM
Reviewer
mhorne
Differential Revision
D54857: riscv: Add macro for hfence.gvma instruction
Parents
rGdb0c8752ec05: riscv: smarter DMAP construction (again)
Branches
Unknown
Tags
Unknown