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.
19 lines
616 B
Rust
19 lines
616 B
Rust
// SPDX-License-Identifier: MIT OR Apache-2.0
|
|
//
|
|
// Copyright (c) 2018-2020 Andre Richter <andre.o.richter@gmail.com>
|
|
|
|
//! BSP Processor code.
|
|
|
|
//--------------------------------------------------------------------------------------------------
|
|
// Public Definitions
|
|
//--------------------------------------------------------------------------------------------------
|
|
|
|
/// Used by `arch` code to find the early boot core.
|
|
pub const BOOT_CORE_ID: usize = 0;
|
|
|
|
/// The early boot core's stack address.
|
|
pub const BOOT_CORE_STACK_START: u64 = 0x80_000;
|
|
|
|
/// The number of processor cores.
|
|
pub const NUM_CORES: usize = 4;
|