Supervisor Trap Value Register (stval): 0x143

The stval register is a 32-bit register. When a trap is taken into S-mode, stval is either set to zero or written with exception-specific information to assist software in handling the trap. Otherwise, stval is never written by the implementation, though it may be explicitly written by software. The hardware platform will specify which exceptions must set stval informatively and which may unconditionally set it to zero.

31 0
stval
Bits Field Description Single/Multi-Core w/FPU w/MMU
0-31 stval Supervisor trap value register bit. N/A N/A Read/Write