mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-10 05:46:48 +00:00
Remove UserEvent::Fault
This commit is contained in:
parent
efe88f9d47
commit
9cad3d7252
@ -179,5 +179,4 @@ impl<'a> UserMode<'a> {
|
|||||||
pub enum UserEvent {
|
pub enum UserEvent {
|
||||||
Syscall,
|
Syscall,
|
||||||
Exception,
|
Exception,
|
||||||
Fault,
|
|
||||||
}
|
}
|
||||||
|
@ -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) {
|
fn handle_user_event(user_event: UserEvent, context: &mut UserContext) {
|
||||||
match user_event {
|
match user_event {
|
||||||
UserEvent::Syscall => handle_syscall(context),
|
UserEvent::Syscall => handle_syscall(context),
|
||||||
UserEvent::Fault => todo!(),
|
|
||||||
UserEvent::Exception => handle_exception(context),
|
UserEvent::Exception => handle_exception(context),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user