mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-16 08:38:26 +00:00
kernel: use unsafe {} on Hosted mode
Since `MemoryRange::new()` is now unsafe, add an `unsafe {}` note when
calling this function on Hosted mode.
This fixes the build.
Signed-off-by: Sean Cross <sean@xobs.io>
This commit is contained in:
parent
023918082b
commit
1fb7d4ebd5
1 changed files with 1 additions and 1 deletions
|
|
@ -1596,7 +1596,7 @@ impl SystemServices {
|
|||
})?;
|
||||
|
||||
#[cfg(not(baremetal))]
|
||||
let backing = MemoryRange::new(4096, 4096).unwrap();
|
||||
let backing = unsafe { MemoryRange::new(4096, 4096).unwrap() };
|
||||
// println!(
|
||||
// "KERNEL({}): Found a free slot for server {:?} @ {} -- allocating an entry",
|
||||
// pid.get(),
|
||||
|
|
|
|||
Loading…
Reference in a new issue