aboutsummaryrefslogtreecommitdiff
path: root/src/cpu
diff options
context:
space:
mode:
authorChristian Cunningham <cc@localhost>2022-08-26 17:25:34 -0700
committerChristian Cunningham <cc@localhost>2022-08-26 17:25:34 -0700
commita04cf2dbb8d2e890405fbf0a1022aaad3015b1e8 (patch)
tree381892074d13c059d50cb88caa41f8a8722c07ce /src/cpu
parent7f3d7d9ce9818078b6a4616b4c31a28e2868397b (diff)
Modularize
Diffstat (limited to 'src/cpu')
-rw-r--r--src/cpu/mod.rs10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/cpu/mod.rs b/src/cpu/mod.rs
new file mode 100644
index 0000000..1a3fbc5
--- /dev/null
+++ b/src/cpu/mod.rs
@@ -0,0 +1,10 @@
+//! # Processor code.
+#[cfg(target_arch = "arm")]
+#[path = "../_arch/arm/cpu.rs"]
+mod arch_cpu;
+mod boot;
+
+/// # Low-level bindings
+///
+/// Re-export low-level bindings
+pub use arch_cpu::*;