xous-core/kernel/src/arch/hosted/irq.rs
Sean Cross fa9a3e0954 kernel: rework hosted network protocol
This fixes issues regarding passing memory between processes.

We now properly catch `ReturnMemory` and give the memory back.

Signed-off-by: Sean Cross <sean@xobs.io>
2020-10-29 19:46:17 +08:00

21 lines
479 B
Rust

use xous_kernel::{TID, PID};
pub fn disable_all_irqs() {
// There are no IRQs in a hosted environment, so there's nothing to do.
}
pub fn enable_all_irqs() {
// There are no IRQs in a hosted environment, so there's nothing to do.
}
pub fn enable_irq(_irq_no: usize) {
unimplemented!();
}
// pub unsafe fn take_isr_return_pair() -> Option<(PID, TID)> {
// unimplemented!()
// }
pub unsafe fn set_isr_return_pair(_pid: PID, _ctx: TID) {
unimplemented!()
}