Function handle_user_exception

Source
pub async fn handle_user_exception(tid: u64, exception: UserException)
Expand description

处理用户异常

  • tid 是用户进程绑定的任务 ID
  • vmfault 是发生的错误,包含错误信息

函数描述:

  • 异常指令为 0xdeadbeef 时,说明是系统调用
  • 异常指令为其他值时,说明是用户异常