From ec5a82204dd924cb1e941064056262e6137355ea Mon Sep 17 00:00:00 2001 From: Andrew Waterman Date: Thu, 23 Mar 2017 13:25:36 -0700 Subject: Add TW/TVM/TSR fields to mstatus --- encoding.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/encoding.h b/encoding.h index 910bced..08065eb 100644 --- a/encoding.h +++ b/encoding.h @@ -17,8 +17,11 @@ #define MSTATUS_FS 0x00006000 #define MSTATUS_XS 0x00018000 #define MSTATUS_MPRV 0x00020000 -#define MSTATUS_PUM 0x00040000 +#define MSTATUS_SUM 0x00040000 #define MSTATUS_MXR 0x00080000 +#define MSTATUS_TVM 0x00100000 +#define MSTATUS_TW 0x00200000 +#define MSTATUS_TSR 0x00400000 #define MSTATUS32_SD 0x80000000 #define MSTATUS64_SD 0x8000000000000000 -- cgit v1.1