Trigger Control
This optional register is only accessible in M-mode and Debug Mode and provides various control bits related to triggers.
| 31:24 | 23:16 | 15:8 | 7:0 | ||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| — | MPTE | — | MTE | — | |||||||||||||||||||||||||||
| 63:56 | 55:48 | 47:40 | 39:32 | 31:24 | 23:16 | 15:8 | 7:0 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| — | MPTE | — | MTE | — | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Bits | Field | Alias | Description | Type | Reset |
|---|---|---|---|---|---|
| [7] | MPTE | M-mode previous trigger enable field. MPTE and MTE provide one solution to a problem regarding triggers with action=0 firing in M-mode trap handlers. When any trap into M-mode is taken, MPTE is set to the value of MTE. | RW-H | 0 | |
| [3] | MTE | M-mode trigger enable field. 0 (disabled):: Triggers with action=0 do not match/fire while the hart is in M-mode. 1 (enabled):: Triggers do match/fire while the hart is in M-mode. When any trap into M-mode is taken, MTE is set to 0. When `mret` is executed, MTE is set to the value of MPTE. | RW-H | 0 |
Version af3eaf9+cheriot.f635218
Data from the RISC-V Unified Database, copyright RISC-V International and contributors.
CHERIoT extensions from the CHERIoT specification and Sail model, copyright Microsoft and the CHERIoT Platform contributors.
This site is provided as a community resource and is NOT affiliated with nor endorsed by RISC-V International.