make return address of callback configurable

This commit is contained in:
bunnie 2024-03-08 04:28:29 +08:00
parent f2e44d364a
commit 474e8f0822

View file

@ -35,6 +35,7 @@ pub fn handle(irqs_pending: usize) -> Result<xous_kernel::Result, xous_kernel::E
f.get() as *mut usize,
irq_no,
arg.map(|x| x.get() as *mut usize).unwrap_or(core::ptr::null_mut::<usize>()),
arch::process::RETURN_FROM_ISR,
)
.map(|_| xous_kernel::Result::ResumeProcess)
});