htinst

Hypervisor Trap Instruction Register

When a trap is taken into HS-mode, mtinst is written with a value that, if nonzero, provides information about the instruction that trapped, to assist software in handling the trap. The values that may be written to mtinst on a trap are documented in TODO.

htinst is a WARL register that need only be able to hold the values that the implementation may automatically write to it on a trap.

Attributes

CSR Address

0x64a

Defining extension

  • H, version >= 0

Length

64-bit

Privilege Mode

S

Format

htinst format
Figure 1. htinst format

Field Summary

Name Location Type Reset Value

VALUE

63:0

RW-H

UNDEFINED_LEGAL

Fields

VALUE

Location

htinst[63:0]

Description

Exception-specific information for a trap into HS-mode.

Type

RW-H

Read-Write with Hardware update

Field is writable by software. Any value that fits in the field is acceptable. Hardware also updates the field without an explicit software write.

Reset value

UNDEFINED_LEGAL