Skip to content

Commit b4b3927

Browse files
committed
docs(debug mode): add D-mode to modes_with_access
1 parent 51aafde commit b4b3927

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/arch_obj_models/csr.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -361,6 +361,8 @@ def modes_with_access
361361
["M", "S", "U", "VS", "VU"]
362362
when "VS"
363363
["M", "S", "VS"]
364+
when "D"
365+
["M", "D"]
364366
else
365367
raise "unexpected priv mode"
366368
end

0 commit comments

Comments
 (0)