mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-16 08:38:26 +00:00
make return address of callback configurable
This commit is contained in:
parent
f2e44d364a
commit
474e8f0822
1 changed files with 1 additions and 0 deletions
|
|
@ -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)
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue