mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-21 09:14:34 +00:00
Merge branch 'xous-ipc-refactor' of github.com:betrusted-io/xous-core into xous-ipc-refactor
This commit is contained in:
commit
0a7ab8294a
1 changed files with 4 additions and 0 deletions
|
|
@ -1147,6 +1147,10 @@ impl SystemServices {
|
|||
}
|
||||
|
||||
let current_pid = self.current_pid();
|
||||
// If it's within the same process, ignore the operation.
|
||||
if current_pid == dest_pid {
|
||||
return Ok(src_virt);
|
||||
}
|
||||
let src_mapping = self.get_process(current_pid)?.mapping;
|
||||
let dest_mapping = self.get_process(dest_pid)?.mapping;
|
||||
use crate::mem::MemoryManager;
|
||||
|
|
|
|||
Loading…
Reference in a new issue