Module sbi::rfence

source · []
Expand description

RFENCE extension

Constants

The RFENCE extension ID

Functions

Instructs the given harts to execute a FENCE.I instruction.

Instructs the given harts to execute a HFENCE.GVMA for the region contained by start_addr and size. Only valid on harts which support the hypervisor extension. size is the size in bytes of the memory region for which an HFENCE.GVMA will be executed.

Instructs the given harts to execute a HFENCE.GVMA for the region contained by start_addr and size, only covering the provided VMID. Only valid on harts which support the hypervisor extension. size is the size in bytes of the memory region for which an HFENCE.GVMA will be executed.

Instructs the given harts to execute a HFENCE.VVMA for the region contained by start_addr and size for the current VMID of the calling hart. Only valid on harts which support the hypervisor extension.size is the size in bytes of the memory region for which an HFENCE.VVMA will be executed.

Instructs the given harts to execute a HFENCE.VVMA for the region contained by start_addr and size for the current VMID of the calling hart, and the given ASID. Only valid on harts which support the hypervisor extension. size is the size in bytes of the memory region for which an HFENCE.VVMA will be executed.

Instructs the given harts to execute a SFENCE.VMA for the region contained by start_addr and size. size is the size in bytes of the memory region for which an SFENCE.VMA will be executed.

Instructs the given harts to execute a SFENCE.VMA for the region contained by start_addr and size, only covering the provided ASID. size is the size in bytes of the memory region for which an SFENCE.VMA will be executed.