2020-04-06 21:17:09 +00:00
|
|
|
// SPDX-License-Identifier: MIT OR Apache-2.0
|
|
|
|
//
|
2021-01-01 10:28:32 +00:00
|
|
|
// Copyright (c) 2020-2021 Andre Richter <andre.o.richter@gmail.com>
|
2020-04-06 21:17:09 +00:00
|
|
|
|
|
|
|
//! Processor code.
|
|
|
|
|
|
|
|
#[cfg(target_arch = "aarch64")]
|
|
|
|
#[path = "_arch/aarch64/cpu.rs"]
|
|
|
|
mod arch_cpu;
|
2021-01-23 21:43:59 +00:00
|
|
|
|
|
|
|
mod boot;
|
2020-04-06 21:17:09 +00:00
|
|
|
|
|
|
|
pub mod smp;
|
2021-01-23 21:43:59 +00:00
|
|
|
|
|
|
|
//--------------------------------------------------------------------------------------------------
|
|
|
|
// Architectural Public Reexports
|
|
|
|
//--------------------------------------------------------------------------------------------------
|
|
|
|
pub use arch_cpu::{nop, qemu_exit_failure, qemu_exit_success, wait_forever};
|