hie

Hypervisor Interrupt Enable Register

The hie register is a read/write register in HS-mode that enables interrupts. It corresponds to the enable bits for VS-level and hypervisor-specific interrupts, and supplements the HS-level sie register.

Attributes

CSR Address

0x604

Defining extension

H

Length

64-bit

Privilege Mode

S

Format

hie format
Figure 1. hie format

Field Summary

Name Location Type Reset Value

SGEIE

12

RW

UNDEFINED_LEGAL

VSEIE

10

RW

UNDEFINED_LEGAL

VSTIE

6

RW

UNDEFINED_LEGAL

VSSIE

2

RW

UNDEFINED_LEGAL

Fields

SGEIE

Location

hie[12]

Description

Hypervisor guest external interrupt enable bit. When set, allows external interrupts to be delivered to VS-mode based on the hgeie setting.

Type

RW

Read-Write

Field is writable by software. Any value that fits in the field is acceptable and shall be retained for subsequent reads.

Reset value

UNDEFINED_LEGAL

Software write

This field has special behavior when written by software (e.g., through csrrw).

When software tries to write csr_value, the field will be written with the return value of the function below.

return csr_value.SGEIE;

VSEIE

Location

hie[10]

Description

VS-level external interrupt enable bit. When set, allows external interrupts directed to VS-level to be processed based on the configuration in hvip and other platform-specific sources.

Type

RW

Read-Write

Field is writable by software. Any value that fits in the field is acceptable and shall be retained for subsequent reads.

Reset value

UNDEFINED_LEGAL

Software write

This field has special behavior when written by software (e.g., through csrrw).

When software tries to write csr_value, the field will be written with the return value of the function below.

return csr_value.VSEIE;

VSTIE

Location

hie[6]

Description

VS-level timer interrupt enable bit. When set, allows VS-level timer interrupts to be processed based on the hvip configuration and any platform-specific timer interrupts.

Type

RW

Read-Write

Field is writable by software. Any value that fits in the field is acceptable and shall be retained for subsequent reads.

Reset value

UNDEFINED_LEGAL

Software write

This field has special behavior when written by software (e.g., through csrrw).

When software tries to write csr_value, the field will be written with the return value of the function below.

return csr_value.VSTIE;

VSSIE

Location

hie[2]

Description

VS-level software interrupt enable bit. When set, allows software interrupts directed to VS-level to be processed, based on the configuration in hvip.

Type

RW

Read-Write

Field is writable by software. Any value that fits in the field is acceptable and shall be retained for subsequent reads.

Reset value

UNDEFINED_LEGAL

Software write

This field has special behavior when written by software (e.g., through csrrw).

When software tries to write csr_value, the field will be written with the return value of the function below.

return csr_value.VSSIE;