[−][src]Struct uefi::proto::pi::mp::MPServices
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]
&self,
processor_number: usize
) -> Result<ProcessorInformation>
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]
&self,
single_thread: bool,
procedure: Procedure,
procedure_argument: *mut c_void,
timeout: Option<Duration>
) -> Result
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]
&self,
processor_number: usize,
procedure: Procedure,
procedure_argument: *mut c_void,
timeout: Option<Duration>
) -> Result
Executes provided function on a specific AP in blocking mode.
pub fn switch_bsp(
&self,
processor_number: usize,
enable_old_bsp: bool
) -> Result
[src]
&self,
processor_number: usize,
enable_old_bsp: bool
) -> Result
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]
&self,
processor_number: usize,
enable_ap: bool,
healthy: Option<bool>
) -> Result
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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,