rust-raspberrypi-OS-tutorials/04_safe_globals/src/cpu.rs

17 lines
499 B
Rust
Raw Normal View History

2020-03-28 12:26:48 +00:00
// SPDX-License-Identifier: MIT OR Apache-2.0
//
2022-01-15 20:50:11 +00:00
// Copyright (c) 2020-2022 Andre Richter <andre.o.richter@gmail.com>
2020-03-28 12:26:48 +00:00
//! Processor code.
#[cfg(target_arch = "aarch64")]
#[path = "_arch/aarch64/cpu.rs"]
mod arch_cpu;
mod boot;
2020-03-28 12:26:48 +00:00
//--------------------------------------------------------------------------------------------------
// Architectural Public Reexports
//--------------------------------------------------------------------------------------------------
pub use arch_cpu::wait_forever;