[][src]Struct uefi::proto::pi::mp::MPServices

#[repr(C)]pub struct MPServices { /* fields omitted */ }

Protocol that provides services needed for multi-processor management.

Implementations

impl MPServices[src]

pub fn get_number_of_processors(&self) -> Result<ProcessorCount>[src]

Retrieves the number of logical processors and the number of enabled logical processors in the system.

pub fn get_processor_info(
    &self,
    processor_number: usize
) -> Result<ProcessorInformation>
[src]

Gets detailed information on the requested processor at the instant this call is made.

pub fn startup_all_aps(
    &self,
    single_thread: bool,
    procedure: Procedure,
    procedure_argument: *mut c_void,
    timeout: Option<Duration>
) -> Result
[src]

Executes provided function on all APs in blocking mode.

pub fn startup_this_ap(
    &self,
    processor_number: usize,
    procedure: Procedure,
    procedure_argument: *mut c_void,
    timeout: Option<Duration>
) -> Result
[src]

Executes provided function on a specific AP in blocking mode.

pub fn switch_bsp(
    &self,
    processor_number: usize,
    enable_old_bsp: bool
) -> Result
[src]

Switches the requested AP to be the BSP from that point onward.

pub fn enable_disable_ap(
    &self,
    processor_number: usize,
    enable_ap: bool,
    healthy: Option<bool>
) -> Result
[src]

Enables or disables an AP from this point onward.

The healthy argument can be used to specify the new health status of the AP.

pub fn who_am_i(&self) -> Result<usize>[src]

Gets the handle number of the caller processor.

Trait Implementations

impl Identify for MPServices[src]

impl Protocol for MPServices[src]

impl !Send for MPServices[src]

impl !Sync for MPServices[src]

Auto Trait Implementations

impl Unpin for MPServices

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.