Skip to content

Commit

Permalink
[exception] do not open environment call exception
Browse files Browse the repository at this point in the history
  • Loading branch information
Clo91eaf committed May 15, 2024
1 parent 7779ca8 commit a852ec1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/exception.rs
Original file line number Diff line number Diff line change
Expand Up @@ -214,8 +214,8 @@ impl Exception {
| Exception::StoreAMOAccessFault => Trap::Fatal,
Exception::EnvironmentCallFromUMode
| Exception::EnvironmentCallFromSMode
| Exception::EnvironmentCallFromMMode => Trap::Requested,
// | Exception::EnvironmentCallFromMMode => Trap::Fatal,
// | Exception::EnvironmentCallFromMMode => Trap::Requested,
| Exception::EnvironmentCallFromMMode => Trap::Fatal,
Exception::InstructionPageFault(_) | Exception::LoadPageFault(_) | Exception::StoreAMOPageFault(_) => {
Trap::Invisible
}
Expand Down

0 comments on commit a852ec1

Please sign in to comment.