ISARef Multi-ISA & Silicon Reference
45,419 ISA items · 105,907 timings · 894 microarchs · 15,770 chips · 105 sources
Arch:
Tier:

Ssdbltrp

T1 riscv feature feature
Double trap for supervisor mode
SourceRISC-V Official Unified Database (riscv-unified-db) (riscv_unified_db)
Reliability TierT1 — Official Specification
ISA / Silicon Scopev1.0.0 (ratified)
RV32 / RV64 (Ratified & Standard Extensions)
License & VersionApache-2.0 / CC-BY-4.0
main
Upstreamhttps://github.com/riscv/riscv-unified-db

Summary

The Ssdbltrp extension addresses a double trap in privilege modes lower than M. It enables HS-mode to invoke a critical error handler in a virtual machine on a double trap in VS-mode. It also allows M-mode to invoke a critical error handler in the OS/Hypervisor on a double trap in S/HS-mode.

Syntax / Encoding

Ssdbltrp v1.0.0 (ratified)

Reference Notes

The Ssdbltrp extension addresses a double trap in privilege modes lower than M.
It enables HS-mode to invoke a critical error handler in a virtual machine on a double trap in VS-mode.
It also allows M-mode to invoke a critical error handler in the OS/Hypervisor on a double trap in S/HS-mode.

The Ssdbltrp extension adds the `menvcfg.DTE` and the `sstatus.SDT` fields.
If the hypervisor extension is additionally implemented, then the extension adds the
`henvcfg.DTE` and the `vsstatus.SDT` fields.

When `menvcfg.DTE` is zero, the implementation behaves as though Ssdbltrp is not implemented.
When Ssdbltrp is not implemented, `sstatus.SDT`, `vsstatus.SDT`, and `henvcfg.DTE` bits are read-only zero.