Skip to content

Commit

Permalink
Add TW/TVM/TSR fields to mstatus
Browse files Browse the repository at this point in the history
  • Loading branch information
aswaterman committed Mar 23, 2017
1 parent 2536e52 commit ec5a822
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion encoding.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit ec5a822

Please sign in to comment.