Skip to content

Commit

Permalink
Add extended cause codes in DCSR
Browse files Browse the repository at this point in the history
  • Loading branch information
ved-rivos committed Jul 4, 2024
1 parent feff9dc commit 23a394b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions encoding.h
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,9 @@
#define DCSR_CAUSE_STEP 4
#define DCSR_CAUSE_HALT 5
#define DCSR_CAUSE_GROUP 6
#define DCSR_CAUSE_EXTCAUSE 7

#define DCSR_EXTCAUSE_CRITERR 0

#define MCONTROL_TYPE(xlen) (0xfULL<<((xlen)-4))
#define MCONTROL_DMODE(xlen) (1ULL<<((xlen)-5))
Expand Down

0 comments on commit 23a394b

Please sign in to comment.