Commit a72fd38 1 parent 972e8ff commit a72fd38 Copy full SHA for a72fd38
File tree 4 files changed +10
-7
lines changed
4 files changed +10
-7
lines changed Original file line number Diff line number Diff line change 8
8
(def boxes-per-row 32 )
9
9
(draw-column-headers {:height 20 :font-size 18 :labels (reverse [" 0" " " " " " 3" " 4" " " " " " " " " " " " " " " " " " " " " " 15" " 16" " " " " " 19" " 20" " " " " " " " " " " " " " " " " " " " " " MXLEN-1" ])})
10
10
11
- (draw-box " Reserved " {:span 12 })
11
+ (draw-box " WPRI " {:span 12 })
12
12
(draw-box " TYPE" {:span 4 })
13
- (draw-box " Reserved " {:span 12 })
13
+ (draw-box " WPRI " {:span 12 })
14
14
(draw-box " CAUSE" {:span 4 })
15
15
16
16
(draw-box " MXLEN-20" {:span 12 :borders {}})
Original file line number Diff line number Diff line change 8
8
(def boxes-per-row 32 )
9
9
(draw-column-headers {:height 20 :font-size 18 :labels (reverse [" 0" " " " " " 3" " 4" " " " " " " " " " " " " " " " " " " " " " 15" " 16" " " " " " 19" " 20" " " " " " " " " " " " " " " " " " " " " " SXLEN-1" ])})
10
10
11
- (draw-box " Reserved " {:span 12 })
11
+ (draw-box " WPRI " {:span 12 })
12
12
(draw-box " TYPE" {:span 4 })
13
- (draw-box " Reserved " {:span 12 })
13
+ (draw-box " WPRI " {:span 12 })
14
14
(draw-box " CAUSE" {:span 4 })
15
15
16
16
(draw-box " SXLEN-20" {:span 12 :borders {}})
Original file line number Diff line number Diff line change 8
8
(def boxes-per-row 32 )
9
9
(draw-column-headers {:height 20 :font-size 18 :labels (reverse [" 0" " " " " " 3" " 4" " " " " " " " " " " " " " " " " " " " " " 15" " 16" " " " " " 19" " 20" " " " " " " " " " " " " " " " " " " " " " VSXLEN-1" ])})
10
10
11
- (draw-box " Reserved " {:span 12 })
11
+ (draw-box " WPRI " {:span 12 })
12
12
(draw-box " TYPE" {:span 4 })
13
- (draw-box " Reserved " {:span 12 })
13
+ (draw-box " WPRI " {:span 12 })
14
14
(draw-box " CAUSE" {:span 4 })
15
15
16
16
(draw-box " VSXLEN-20" {:span 12 :borders {}})
Original file line number Diff line number Diff line change @@ -786,10 +786,13 @@ xref:mtval2-format[xrefstyle=short] to assist software in handling the trap.
786
786
If <<mtval>> is read-only zero for CHERI exceptions then <<mtval2>> is also read-only zero
787
787
for CHERI exceptions.
788
788
789
- .Machine trap value register 2
789
+ .Machine trap value register 2 format for CHERI faults
790
790
[#mtval2-format]
791
791
include::img/mtval2reg.edn[]
792
792
793
+ NOTE: <<mtval2>> is also used for Hypervisor guest physical addresses, and so the implemented bits must also cover that use case.
794
+ If Hypervisor is not implemented then all WPRI fields in <<mtval2-format>> are read-only-zero.
795
+
793
796
TYPE is a CHERI-specific fault type that caused the exception while CAUSE
794
797
is the cause of the fault. The possible CHERI types and causes are encoded as
795
798
shown in xref:mtval2-cheri-type[xrefstyle=short] and
You can’t perform that action at this time.
0 commit comments