specify the swap return address for swaps

This commit is contained in:
bunnie 2024-03-08 04:28:55 +08:00
parent 500a641848
commit 70639214e1

View file

@ -226,6 +226,7 @@ impl Swap {
self.pc as *const usize,
self.swapper_args_pid2_vaddr,
payload_ptr as *mut usize,
crate::arch::process::RETURN_FROM_EXCEPTION_HANDLER,
)
})
.expect("couldn't switch to handler");