mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-19 09:00:54 +00:00
specify the swap return address for swaps
This commit is contained in:
parent
500a641848
commit
70639214e1
1 changed files with 1 additions and 0 deletions
|
|
@ -226,6 +226,7 @@ impl Swap {
|
||||||
self.pc as *const usize,
|
self.pc as *const usize,
|
||||||
self.swapper_args_pid2_vaddr,
|
self.swapper_args_pid2_vaddr,
|
||||||
payload_ptr as *mut usize,
|
payload_ptr as *mut usize,
|
||||||
|
crate::arch::process::RETURN_FROM_EXCEPTION_HANDLER,
|
||||||
)
|
)
|
||||||
})
|
})
|
||||||
.expect("couldn't switch to handler");
|
.expect("couldn't switch to handler");
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue