mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-19 09:00:54 +00:00
fix small syntax errors from refactor
This commit is contained in:
parent
4ba2b476d1
commit
bd48886cc1
2 changed files with 3 additions and 3 deletions
|
|
@ -1186,7 +1186,7 @@ impl SystemServices {
|
||||||
let mut arch_process = ArchProcess::current();
|
let mut arch_process = ArchProcess::current();
|
||||||
arch_process.set_thread_result(new_tid, result);
|
arch_process.set_thread_result(new_tid, result);
|
||||||
}
|
}
|
||||||
None => (),
|
PostActivateOp::None => (),
|
||||||
}
|
}
|
||||||
|
|
||||||
// Mark the previous process as ready to run, since we just switched
|
// Mark the previous process as ready to run, since we just switched
|
||||||
|
|
@ -1261,7 +1261,7 @@ impl SystemServices {
|
||||||
PostActivateOp::SetThreadResult { result } => {
|
PostActivateOp::SetThreadResult { result } => {
|
||||||
ArchProcess::current().set_thread_result(new_tid, result);
|
ArchProcess::current().set_thread_result(new_tid, result);
|
||||||
}
|
}
|
||||||
None => (),
|
PostActivateOp::None => (),
|
||||||
}
|
}
|
||||||
let new = self.get_process_mut(new_pid)?;
|
let new = self.get_process_mut(new_pid)?;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -633,7 +633,7 @@ fn reply_and_receive_next(
|
||||||
response.pid,
|
response.pid,
|
||||||
response.tid,
|
response.tid,
|
||||||
false,
|
false,
|
||||||
PostActivateOp::SetThreadResult(response.result),
|
PostActivateOp::SetThreadResult { result: response.result },
|
||||||
)
|
)
|
||||||
.map(|_| Ok(xous_kernel::Result::ResumeProcess))
|
.map(|_| Ok(xous_kernel::Result::ResumeProcess))
|
||||||
.unwrap_or(Err(xous_kernel::Error::ProcessNotFound))
|
.unwrap_or(Err(xous_kernel::Error::ProcessNotFound))
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue