mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-16 08:38:26 +00:00
fix typo
This commit is contained in:
parent
7006f92e6f
commit
f635917658
1 changed files with 1 additions and 1 deletions
|
|
@ -1167,7 +1167,7 @@ pub fn map_page_to_swapper(paddr: usize) -> Result<usize, xous_kernel::Error> {
|
|||
let payload_virt = MemoryManager::with_mut(|mm| {
|
||||
let payload_virt = mm
|
||||
.find_virtual_address(core::ptr::null_mut(), PAGE_SIZE, xous_kernel::MemoryType::Messages)
|
||||
.expect("couldn't find virtuall address in swapper space for target page")
|
||||
.expect("couldn't find virtual address in swapper space for target page")
|
||||
as usize;
|
||||
let _result =
|
||||
map_page_inner(mm, swapper_pid, paddr, payload_virt, MemoryFlags::R | MemoryFlags::W, true);
|
||||
|
|
|
|||
Loading…
Reference in a new issue