aboutsummaryrefslogtreecommitdiff
path: root/src/_arch/arm/cpu.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/_arch/arm/cpu.rs')
-rw-r--r--src/_arch/arm/cpu.rs12
1 files changed, 10 insertions, 2 deletions
diff --git a/src/_arch/arm/cpu.rs b/src/_arch/arm/cpu.rs
index 1ca6fab..cd80151 100644
--- a/src/_arch/arm/cpu.rs
+++ b/src/_arch/arm/cpu.rs
@@ -1,8 +1,16 @@
-//! Architectural processor code.
+//! # 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::*;
-/// Pause execution
+/// # Halt until event
pub fn wait_forever() -> ! {
loop {
asm::wfe()