ostd 0.17.2

Rust OS framework that facilitates the development of and innovation in OS kernels
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// SPDX-License-Identifier: MPL-2.0

//! Multiprocessor Boot Support

use crate::{boot::smp::PerApRawInfo, mm::Paddr};

pub(crate) fn count_processors() -> Option<u32> {
    Some(1)
}

pub(crate) unsafe fn bringup_all_aps(
    _info_ptr: *const PerApRawInfo,
    _pr_ptr: Paddr,
    _num_cpus: u32,
) {
    unimplemented!()
}