Struct uefi::BootServices
[−]
[src]
#[repr(C)]pub struct BootServices { /* fields omitted */ }
Methods
impl BootServices
[src]
fn free_pool<T>(&self, p: *const T)
fn wait_for_event(&self, events: &[Event]) -> Result<usize, Status>
fn handle_protocol<T: Protocol>(
&self,
handle: Handle
) -> Result<&'static T, Status>
&self,
handle: Handle
) -> Result<&'static T, Status>
fn close_protocol<T: Protocol>(
&self,
handle: Handle,
agent_handle: Handle,
controller_handle: Handle
) -> Status
&self,
handle: Handle,
agent_handle: Handle,
controller_handle: Handle
) -> Status
fn locate_handle_by_protocol<T: Protocol>(&self) -> Result<Handles, Status>
Retrives a slice of handles by protocol GUID.
fn stall(&self, microseconds: usize)
Sleep for a number of microseconds.
fn copy_mem(&self, dest: *mut u8, src: *const u8, n: usize) -> *mut u8
Copy memory, similar to memcpy.
fn set_mem(&self, s: *mut u8, c: u8, n: usize) -> *mut u8
Set memory, similar to memset.