mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-18 08:52:45 +00:00
kernel: services: fix build on riscv
Somehow the build broke. Oops. Signed-off-by: Sean Cross <sean@xobs.io>
This commit is contained in:
parent
25824df335
commit
bc92f4b042
1 changed files with 2 additions and 0 deletions
|
|
@ -1100,6 +1100,7 @@ impl SystemServices {
|
||||||
let current_pid = self.current_pid();
|
let current_pid = self.current_pid();
|
||||||
let src_mapping = self.get_process(current_pid)?.mapping;
|
let src_mapping = self.get_process(current_pid)?.mapping;
|
||||||
let dest_mapping = self.get_process(dest_pid)?.mapping;
|
let dest_mapping = self.get_process(dest_pid)?.mapping;
|
||||||
|
use crate::mem::MemoryManager;
|
||||||
MemoryManager::with_mut(|mm| {
|
MemoryManager::with_mut(|mm| {
|
||||||
// Locate an address to fit the new memory.
|
// Locate an address to fit the new memory.
|
||||||
dest_mapping.activate()?;
|
dest_mapping.activate()?;
|
||||||
|
|
@ -1181,6 +1182,7 @@ impl SystemServices {
|
||||||
let current_pid = self.current_pid();
|
let current_pid = self.current_pid();
|
||||||
let src_mapping = self.get_process(current_pid)?.mapping;
|
let src_mapping = self.get_process(current_pid)?.mapping;
|
||||||
let dest_mapping = self.get_process(dest_pid)?.mapping;
|
let dest_mapping = self.get_process(dest_pid)?.mapping;
|
||||||
|
use crate::mem::MemoryManager;
|
||||||
MemoryManager::with_mut(|mm| {
|
MemoryManager::with_mut(|mm| {
|
||||||
let mut error = None;
|
let mut error = None;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue