2020-06-03 07:34:55 +00:00
|
|
|
use xous::{CtxID, PID};
|
|
|
|
|
|
|
|
|
|
pub fn disable_all_irqs() {
|
2020-06-15 10:13:10 +00:00
|
|
|
// There are no IRQs in a hosted environment, so there's nothing to do.
|
2020-06-03 07:34:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
pub fn enable_all_irqs() {
|
2020-06-15 10:13:10 +00:00
|
|
|
// There are no IRQs in a hosted environment, so there's nothing to do.
|
2020-06-03 07:34:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
pub fn enable_irq(_irq_no: usize) {
|
|
|
|
|
unimplemented!();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
pub fn disable_irq(_irq_no: usize) {
|
|
|
|
|
unimplemented!();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
pub unsafe fn take_isr_return_pair() -> Option<(PID, CtxID)> {
|
|
|
|
|
unimplemented!()
|
|
|
|
|
}
|
|
|
|
|
|
2020-06-15 10:13:10 +00:00
|
|
|
pub unsafe fn set_isr_return_pair(_pid: PID, _ctx: CtxID) {
|
2020-06-03 07:34:55 +00:00
|
|
|
unimplemented!()
|
|
|
|
|
}
|