10 lines
157 B
Rust
Raw Normal View History

#![no_std]
pub trait Architecture {
fn interrupt_mask() -> bool;
unsafe fn set_interrupt_mask(mask: bool) -> bool;
fn wait_for_interrupt();
}