2020-08-17 10:37:40 +00:00
|
|
|
use xous_kernel::{TID, PID};
|
2020-06-03 07:34:55 +00:00
|
|
|
|
|
|
|
|
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!();
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-21 01:44:16 +00:00
|
|
|
pub unsafe fn take_isr_return_pair() -> Option<(PID, TID)> {
|
2020-06-03 07:34:55 +00:00
|
|
|
unimplemented!()
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-21 01:44:16 +00:00
|
|
|
pub unsafe fn set_isr_return_pair(_pid: PID, _ctx: TID) {
|
2020-06-03 07:34:55 +00:00
|
|
|
unimplemented!()
|
|
|
|
|
}
|