You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
610 B
Rust
22 lines
610 B
Rust
// SPDX-License-Identifier: MIT OR Apache-2.0
|
|
//
|
|
// Copyright (c) 2020-2022 Andre Richter <andre.o.richter@gmail.com>
|
|
|
|
//! Processor code.
|
|
|
|
#[cfg(target_arch = "aarch64")]
|
|
#[path = "_arch/aarch64/cpu.rs"]
|
|
mod arch_cpu;
|
|
|
|
mod boot;
|
|
|
|
pub mod smp;
|
|
|
|
//--------------------------------------------------------------------------------------------------
|
|
// Architectural Public Reexports
|
|
//--------------------------------------------------------------------------------------------------
|
|
pub use arch_cpu::{nop, wait_forever};
|
|
|
|
#[cfg(feature = "test_build")]
|
|
pub use arch_cpu::{qemu_exit_failure, qemu_exit_success};
|