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

#[repr(C)]
pub struct MpServices { /* fields omitted */ }
Expand description

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]

const GUID: Guid[src]

Unique protocol identifier.

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]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

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

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

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

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

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

pub fn from(t: T) -> T[src]

Performs the conversion.

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

pub fn into(self) -> U[src]

Performs the conversion.

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.

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

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.

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.