Webcentive RISC-V Reference

mnscratch

Resumable NMI scratch register

Address
0x740
Group
Machine-level CSRs
Privilege
MRW (privileged spec CSR listing, Machine Non-Maskable Interrupt Handling)
Access
read/write; lowest privilege M (machine)
Address range
Standard read/write
Name in riscv-unified-db
Machine Scratch Register

Privileged spec: Resumable NMI scratch register

Description

Scratch register for software use in NMI / double trap. Bits are not interpreted by hardware.

From riscv-unified-db, reformatted.

Fields

FieldBitsTypeDescription
SCRATCHRV32 31-0 / RV64 63-0RW

Scratch value

Fields from riscv-unified-db; field types computed by IDL functions there are not shown.

Specification and related pages