aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Newsome <tim@sifive.com>2016-06-03 15:04:54 -0700
committerTim Newsome <tim@sifive.com>2016-06-03 15:06:10 -0700
commit8a441f91169c2782bea3bdffda12b0b5303a9ae6 (patch)
treeeb93fcb41856e1f8ae2f0dc8457856dcd522bf75
parentbc08d005b7b02bc451ec94b96b631194f17dd2ca (diff)
downloadriscv-opcodes-8a441f91169c2782bea3bdffda12b0b5303a9ae6.zip
riscv-opcodes-8a441f91169c2782bea3bdffda12b0b5303a9ae6.tar.gz
riscv-opcodes-8a441f91169c2782bea3bdffda12b0b5303a9ae6.tar.bz2
Keep DCSR_XDEBUGVER unsigned.
-rw-r--r--encoding.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/encoding.h b/encoding.h
index 7ba1df1..ae380a6 100644
--- a/encoding.h
+++ b/encoding.h
@@ -33,7 +33,7 @@
#define SSTATUS32_SD 0x80000000
#define SSTATUS64_SD 0x8000000000000000
-#define DCSR_XDEBUGVER (3<<30)
+#define DCSR_XDEBUGVER (3U<<30)
#define DCSR_NDRESET (1<<29)
#define DCSR_FULLRESET (1<<28)
#define DCSR_HWBPCOUNT (0xfff<<16)