Remove UserEvent::Fault

This commit is contained in:
Yuke Peng 2023-04-03 05:40:30 -07:00 committed by Tate, Hongliang Tian
parent efe88f9d47
commit 9cad3d7252
2 changed files with 0 additions and 2 deletions

View File

@ -179,5 +179,4 @@ impl<'a> UserMode<'a> {
pub enum UserEvent {
Syscall,
Exception,
Fault,
}

View File

@ -56,7 +56,6 @@ pub fn create_new_user_task(user_space: Arc<UserSpace>, thread_ref: Weak<Thread>
fn handle_user_event(user_event: UserEvent, context: &mut UserContext) {
match user_event {
UserEvent::Syscall => handle_syscall(context),
UserEvent::Fault => todo!(),
UserEvent::Exception => handle_exception(context),
}
}