Webcentive RISC-V Reference

vsctrctl

Virtual Supervisor Control Transfer Records Control Register

Address
0x24E
Group
Hypervisor and VS CSRs
Privilege
HRW (privileged spec CSR listing, Virtual Supervisor Control Transfer Records Configuration)
Access
read/write; lowest privilege H (hypervisor, including VS CSRs)
Address range
Standard read/write
Name in riscv-unified-db
Virtual Supervisor Control Transfer Records Control Register

Privileged spec: Virtual Supervisor Control Transfer Records Control Register

Description

The vsctrctl register is a VS-mode's version of supervisor register sctrctl that configures the Control Transfer Records capability. When V=1, vsctrctl substitutes for the usual sctrctl, so instructions that normally read or modify sctrctl actually access vsctrctl instead.

From riscv-unified-db, reformatted.

Fields

FieldBitsTypeDescription
U0RW

Enable transfer recording in the VU mode.

S1RW

Enable transfer recording in the VS mode.

RASEMU7RW

When set, it enables RAS (Return Address Stack) Emulation Mode.

STE8RW

Enables recording of traps to VS-mode when S=0.

BPFRZ11RW

Set sctrstatus.FROZEN on a breakpoint exception that traps to VS mode.

LCOFIFRZ12RW

Set sctrstatus.FROZEN on local-counter-overflow interrupt (LCOFI) that traps to VS mode.

EXCINH33RW

When set, it inhibits recording of exceptions.

INTRINH34RW

When set, it inhibits recording of interrupts.

TRETINH35RW

When set, it inhibits recording of trap returns.

NTBREN36RW

When set, it enables recording of not-taken branches.

TKBRINH37RW

When set, it inhibits recording of taken branches.

INDCALLINH40RW

When set, it inhibits recording of indirect calls.

DIRCALLINH41RW

When set, it inhibits recording of direct calls.

INDJMPINH42RW

When set, it inhibits recording of indirect jumps (without linkage).

DIRJMPINH43RW

When set, it inhibits recording of direct jumps (without linkage).

CORSWAPINH44RW

When set, it inhibits recording of co-routine swaps.

RETINH45RW

When set, it inhibits recording of function returns.

INDLJMPINH46RW

When set, it inhibits recording of other indirect jumps (with linkage).

DIRLJMPINH47RW

When set, it inhibits recording of other direct jumps (with linkage).

CUSTOM63-60RW

WARL bits designated for custom use. The value 0 must correspond to standard behavior.

Fields from riscv-unified-db; field types computed by IDL functions there are not shown.

Specification and related pages