File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -34,6 +34,7 @@ pub enum Exception {
34
34
InstructionFault ,
35
35
IllegalInstruction ,
36
36
Breakpoint ,
37
+ LoadMisaligned ,
37
38
LoadFault ,
38
39
StoreMisaligned ,
39
40
StoreFault ,
@@ -67,6 +68,7 @@ impl Exception {
67
68
1 => Exception :: InstructionFault ,
68
69
2 => Exception :: IllegalInstruction ,
69
70
3 => Exception :: Breakpoint ,
71
+ 4 => Exception :: LoadMisaligned ,
70
72
5 => Exception :: LoadFault ,
71
73
6 => Exception :: StoreMisaligned ,
72
74
7 => Exception :: StoreFault ,
@@ -145,6 +147,7 @@ pub unsafe fn set(cause: Trap) {
145
147
Exception :: InstructionFault => 1 ,
146
148
Exception :: IllegalInstruction => 2 ,
147
149
Exception :: Breakpoint => 3 ,
150
+ Exception :: LoadMisaligned => 4 ,
148
151
Exception :: LoadFault => 5 ,
149
152
Exception :: StoreMisaligned => 6 ,
150
153
Exception :: StoreFault => 7 ,
You can’t perform that action at this time.
0 commit comments