mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-18 08:52:45 +00:00
upgrade irq path to handle the new API
This commit is contained in:
parent
5234127b7b
commit
d6cfb13e4f
1 changed files with 4 additions and 3 deletions
|
|
@ -33,9 +33,10 @@ pub fn handle(irqs_pending: usize) -> Result<xous_kernel::Result, xous_kernel::E
|
||||||
ss.make_callback_to(
|
ss.make_callback_to(
|
||||||
*pid,
|
*pid,
|
||||||
f.get() as *mut usize,
|
f.get() as *mut usize,
|
||||||
irq_no,
|
crate::services::CallbackType::Interrupt(
|
||||||
arg.map(|x| x.get() as *mut usize).unwrap_or(core::ptr::null_mut::<usize>()),
|
irq_no,
|
||||||
arch::process::RETURN_FROM_ISR,
|
arg.map(|x| x.get() as *mut usize).unwrap_or(core::ptr::null_mut::<usize>()),
|
||||||
|
),
|
||||||
)
|
)
|
||||||
.map(|_| xous_kernel::Result::ResumeProcess)
|
.map(|_| xous_kernel::Result::ResumeProcess)
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue