diff options
author | Ved Shanbhogue <ved@rivosinc.com> | 2024-07-04 13:59:32 -0500 |
---|---|---|
committer | Ved Shanbhogue <ved@rivosinc.com> | 2024-07-04 13:59:32 -0500 |
commit | 23a394b022e76d0d1c19a2fafc31b5efe59e6b87 (patch) | |
tree | b5cb166a1f13839f0dfd52087e044202ddbe7f03 /encoding.h | |
parent | feff9dc0e9e9e9cbc7fe814fd05fdc61454279c6 (diff) | |
download | riscv-opcodes-23a394b022e76d0d1c19a2fafc31b5efe59e6b87.zip riscv-opcodes-23a394b022e76d0d1c19a2fafc31b5efe59e6b87.tar.gz riscv-opcodes-23a394b022e76d0d1c19a2fafc31b5efe59e6b87.tar.bz2 |
Add extended cause codes in DCSR
Diffstat (limited to 'encoding.h')
-rw-r--r-- | encoding.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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)) |