mie

Machine Interrupt Enable

{"$copy"⇒"mip.yaml#/description"}

Attributes

Defining Extension

  • Sm, version >= 0

CSR Address

0x304

Length

32 when CSR[misa].MXL == 0 64 when CSR[misa].MXL == 1

Privilege Mode

M

Format

This CSR format changes dynamically.

mie Format when CSR[misa].MXL == 0
Figure 1. mie Format when CSR[misa].MXL == 0
mie Format when CSR[misa].MXL == 1
Figure 2. mie Format when CSR[misa].MXL == 1

Field Summary

Name Location Type Reset Value

mie.SSIE

1

RW

0

mie.VSSIE

2

RW

0

mie.MSIE

3

RW

0

mie.STIE

5

RW

0

mie.VSTIE

6

RW

0

mie.MTIE

7

RW

0

mie.SEIE

9

RW

0

mie.VSEIE

10

RW

0

mie.MEIE

11

RW

0

mie.SGEIE

12

RW

0

mie.LCOFIE

13

RW

0

Fields

SSIE

Location

1

Description

Enables Supervisor Software Interrupts.

Alias of sie.SSIE when mideleg.SSI is set. Otherwise, sie.SSIE is read-only 0.

Type

RW

Reset value

0

VSSIE

Location

2

Description

Enables Virtual Supervisor Software Interrupts.

Alias of hie.VSSIE.

Alias of vsie.SSIE when hideleg.VSSI is set. Otherwise, vseie.SSIE is read-only 0.

Alias of sie.SSIE when hideleg.VSSI is set and the current mode is VS or VU (Because mie is inaccessible in VS or VU mode, this alias can never be observed by software).

Type

RW

Reset value

0

MSIE

Location

3

Description

Enables Machine Software Interrupts.

Type

RW

Reset value

0

STIE

Location

5

Description

Enables Supervisor Timer Interrupts.

Alias of sip when mideleg.STI is set. Otherwise, sip is read-only 0.

Type

RW

Reset value

0

VSTIE

Location

6

Description

Enables Virtual Supervisor Timer Interrupts.

Alias of hie.VSTIE.

Alias of vsie.STIE when hideleg.VSTI is set. Otherwise, vseie.STIE is read-only 0.

Alias of sie.STIE when hideleg.VSTI is set and the current mode is VS or VU (Because mie is inaccessible in VS or VU mode, this alias can never be observed by software).

Type

RW

Reset value

0

MTIE

Location

7

Description

Enables Machine Timer Interrupts.

Type

RW

Reset value

0

SEIE

Location

9

Description

Enables Supervisor External Interrupts.

Alias of sie.SEIE when mideleg.SEI is set. Otherwise, sie.SEIE is read-only 0.

Type

RW

Reset value

0

VSEIE

Location

10

Description

Enables Virtual Supervisor External Interrupts.

Alias of hie.VSEIE.

Alias of vsie.SEIE when hideleg.VSEI is set. Otherwise, vseie.SEIE is read-only 0.

Alias of sie.SEIE when hideleg.VSEI is set and the current mode is VS or VU (Because mie is inaccessible in VS or VU mode, this alias can never be observed by software).

Type

RW

Reset value

0

MEIE

Location

11

Description

Enables Machine External Interrupts.

Type

RW

Reset value

0

SGEIE

Location

12

Description

Enables Supervisor Guest External Interrupts

Alias of hie.SGEIE.

Type

RW

Reset value

0

LCOFIE

Location

13

Description

Enables Local Counter Overflow Interrupts.

Alias of sie.LCOFIE when mideleg.LCOFI is set. Otherwise, sie.LCOFIE is an independent writeable bit when mvien.LCOFI is set or is read-only 0.

Alias of vsip.LCOFIE when hideleg.LCOFI is set. Otherwise, vsip.LCOFIE is read-only 0.

Type

RW

Reset value

0