/bootable/libbootloader/gbl/libefi/src/protocol/ |
D | simple_network.rs | 19 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()
|
D | android_boot.rs | 17 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()
|
D | block_io.rs | 20 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()
|
D | riscv.rs | 17 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()
|
D | simple_text_input.rs | 19 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()
|
D | loaded_image.rs | 17 use crate::{DeviceHandle, EfiResult}; 30 pub fn device_handle(&self) -> EfiResult<DeviceHandle> { in device_handle()
|
D | simple_text_output.rs | 19 use crate::{efi_call, map_efi_err, EfiError, EfiResult}; 34 pub fn output_string(&self, msg: *mut char16_t) -> EfiResult<()> { in output_string() argument
|
D | device_path.rs | 19 use crate::{EfiEntry, EfiError, EfiResult}; 49 ) -> EfiResult<DevicePathText<'a>> { in convert_device_path_to_text()
|
/bootable/libbootloader/gbl/libefi/src/ |
D | protocol.rs | 18 use crate::{DeviceHandle, EfiEntry, EfiResult}; 68 pub fn interface(&self) -> EfiResult<&T::InterfaceType> { in interface() 106 let res: EfiResult<()> = match $method {
|
D | lib.rs | 118 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 …]
|
D | allocation.rs | 16 use crate::{EfiEntry, EfiResult}; 48 pub(crate) unsafe fn init_efi_global_alloc(efi_entry: EfiEntry) -> EfiResult<()> { in init_efi_global_alloc() argument
|