blob: cd801516d930fd7d84a4d2ecaf2ace430bd31ec6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
//! # Architectural processor code.
//!
//! This module provides the assembly instructions and higher level constructions
//! for the rest of the kernel.
mod asm;
/// # Bare Assembly Instructions
///
/// Re-export bare ASM bindings.
pub use asm::*;
/// # Halt until event
pub fn wait_forever() -> ! {
loop {
asm::wfe()
}
}
|