Home
last modified time | relevance | path

Searched refs:EfiResult (Results 1 – 11 of 11) sorted by relevance

/bootable/libbootloader/gbl/libefi/src/protocol/
Dsimple_network.rs19 use crate::{efi_call, map_efi_err, EfiResult};
35 pub fn start(&self) -> EfiResult<()> { in start() argument
44 pub fn stop(&self) -> EfiResult<()> { in stop() argument
50 pub fn initialize(&self, extra_rx_buf_size: usize, extra_tx_buf_size: usize) -> EfiResult<()> { in initialize() argument
63 pub fn reset(&self, extended_verification: bool) -> EfiResult<()> { in reset() argument
69 pub fn shutdown(&self) -> EfiResult<()> { in shutdown() argument
79 ) -> EfiResult<()> { in get_status() argument
112 ) -> EfiResult<()> { in transmit() argument
140 ) -> EfiResult<()> { in receive() argument
160 pub fn mode(&self) -> EfiResult<EfiSimpleNetworkMode> { in mode()
Dandroid_boot.rs17 use crate::{efi_call, map_efi_err, EfiResult, Event};
32 pub fn fastboot_usb_interface_start(&self) -> EfiResult<usize> { in fastboot_usb_interface_start()
50 pub fn fastboot_usb_interface_stop(&self) -> EfiResult<()> { in fastboot_usb_interface_stop() argument
59 pub fn fastboot_usb_receive(&self, out: &mut [u8], out_size: &mut usize) -> EfiResult<()> { in fastboot_usb_receive() argument
77 pub fn fastboot_usb_send(&self, data: &[u8], out_size: &mut usize) -> EfiResult<()> { in fastboot_usb_send() argument
95 pub fn wait_for_send_completion(&self) -> EfiResult<Event> { in wait_for_send_completion()
Dblock_io.rs20 use crate::{efi_call, map_efi_err, EfiResult};
35 pub fn read_blocks(&self, lba: u64, buffer: &mut [u8]) -> EfiResult<()> { in read_blocks() argument
54 pub fn write_blocks(&self, lba: u64, buffer: &mut [u8]) -> EfiResult<()> { in write_blocks() argument
73 pub fn flush_blocks(&self) -> EfiResult<()> { in flush_blocks() argument
82 pub fn reset(&self, extended_verification: bool) -> EfiResult<()> { in reset() argument
91 pub fn media(&self) -> EfiResult<EfiBlockIoMedia> { in media()
Driscv.rs17 use crate::{efi_call, map_efi_err, EfiResult};
30 pub fn get_boot_hartid(&self) -> EfiResult<usize> { in get_boot_hartid()
43 pub fn revision(&self) -> EfiResult<u64> { in revision()
Dsimple_text_input.rs19 use crate::{efi_call, map_efi_err, EfiResult};
33 pub fn reset(&self, extendend_verification: bool) -> EfiResult<()> { in reset() argument
45 pub fn read_key_stroke(&self) -> EfiResult<Option<EfiInputKey>> { in read_key_stroke()
Dloaded_image.rs17 use crate::{DeviceHandle, EfiResult};
30 pub fn device_handle(&self) -> EfiResult<DeviceHandle> { in device_handle()
Dsimple_text_output.rs19 use crate::{efi_call, map_efi_err, EfiError, EfiResult};
34 pub fn output_string(&self, msg: *mut char16_t) -> EfiResult<()> { in output_string() argument
Ddevice_path.rs19 use crate::{EfiEntry, EfiError, EfiResult};
49 ) -> EfiResult<DevicePathText<'a>> { in convert_device_path_to_text()
/bootable/libbootloader/gbl/libefi/src/
Dprotocol.rs18 use crate::{DeviceHandle, EfiEntry, EfiResult};
68 pub fn interface(&self) -> EfiResult<&T::InterfaceType> { in interface()
106 let res: EfiResult<()> = match $method {
Dlib.rs118 pub type EfiResult<T> = core::result::Result<T, EfiError>; typedef
121 fn map_efi_err(code: EfiStatus) -> EfiResult<()> { in map_efi_err() argument
159 ) -> EfiResult<EfiEntry> { in initialize()
190 pub fn exit_boot_services(entry: EfiEntry, mmap_buffer: &mut [u8]) -> EfiResult<EfiMemoryMap> { in exit_boot_services()
232 pub fn con_out(&self) -> EfiResult<Protocol<'a, SimpleTextOutputProtocol>> { in con_out()
275 ) -> EfiResult<*mut core::ffi::c_void> { in allocate_pool()
285 fn free_pool(&self, buf: *mut core::ffi::c_void) -> EfiResult<()> { in free_pool() argument
294 ) -> EfiResult<Protocol<'a, T>> { in open_protocol()
315 fn close_protocol<T: ProtocolInfo>(&self, handle: DeviceHandle) -> EfiResult<()> { in close_protocol() argument
332 ) -> EfiResult<LocatedHandles<'a>> { in locate_handle_buffer_by_protocol()
[all …]
Dallocation.rs16 use crate::{EfiEntry, EfiResult};
48 pub(crate) unsafe fn init_efi_global_alloc(efi_entry: EfiEntry) -> EfiResult<()> { in init_efi_global_alloc() argument