Skip to content

Commit

Permalink
remove panic when page fault
Browse files Browse the repository at this point in the history
  • Loading branch information
scPointer committed Mar 19, 2024
1 parent 9e7df3e commit e8beca2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/axmem/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ impl MemorySet {
}
None => {
error!("Page fault address {:?} not found in memory set ", addr);
panic!("FIXME: Page fault shouldn't cause a panic in kernel.");
//panic!("FIXME: Page fault shouldn't cause a panic in kernel.");
Err(AxError::BadAddress)
}
}
Expand Down

0 comments on commit e8beca2

Please sign in to comment.