mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-16 08:38:26 +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(
|
||||
*pid,
|
||||
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,
|
||||
crate::services::CallbackType::Interrupt(
|
||||
irq_no,
|
||||
arg.map(|x| x.get() as *mut usize).unwrap_or(core::ptr::null_mut::<usize>()),
|
||||
),
|
||||
)
|
||||
.map(|_| xous_kernel::Result::ResumeProcess)
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue