Home
last modified time | relevance | path

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

/bootable/libbootloader/gbl/libefi/defs/
Dboot_service.h63 EfiStatus (*allocate_pages)(EfiAllocatorType type, EfiMemoryType memory_type, size_t pages,
65 EfiStatus (*free_pages)(EfiPhysicalAddr memory, size_t pages);
66 EfiStatus (*get_memory_map)(size_t* memory_map_size, EfiMemoryDescriptor* memory_map,
68 EfiStatus (*allocate_pool)(EfiMemoryType pool_type, size_t size, void** buf);
69 EfiStatus (*free_pool)(void* buf);
70 EfiStatus (*create_event)(uint32_t type, EfiTpl notify_tpl, EfiEventNotify notify_fn,
72 EfiStatus (*set_timer)(EfiEvent event, EfiTimerDelay type, uint64_t trigger_time);
73 EfiStatus (*wait_for_event)(size_t num_events, EfiEvent* event, size_t* index);
74 EfiStatus (*signal_event)(EfiEvent event);
75 EfiStatus (*close_event)(EfiEvent event);
[all …]
Druntime_service.h8 EfiStatus (*get_time)(EfiTime* time, EfiTimeCapabilities* capabilities);
9 EfiStatus (*set_time)(EfiTime* time);
10 EfiStatus (*get_wakeup_time)(bool* enabled, bool* pending, EfiTime* time);
11 EfiStatus (*set_wakeup_time)(bool enable, EfiTime* time);
12 EfiStatus (*set_virtual_address_map)(size_t memory_map_size,
16 EfiStatus (*convert_pointer)(size_t debug_disposition, void** address);
17 EfiStatus (*get_variable)(const char16_t* variable_name,
20 EfiStatus (*get_next_variable_name)(size_t* variable_name_size,
23 EfiStatus (*set_variable)(const char16_t* variable_name,
26 EfiStatus (*get_next_high_monotonic_count)(uint32_t* high_count);
[all …]
Dtypes.h170 } EfiStatus; typedef
/bootable/libbootloader/gbl/libefi/defs/protocols/
Dsimple_text_output_protocol.h33 EfiStatus (*reset)(struct EfiSimpleTextOutputProtocol* self, bool extended_verification);
34 EfiStatus (*output_string)(struct EfiSimpleTextOutputProtocol* self, char16_t* string);
35 EfiStatus (*test_string)(struct EfiSimpleTextOutputProtocol* self, char16_t* string);
36 EfiStatus (*query_mode)(struct EfiSimpleTextOutputProtocol* self, size_t mode_num, size_t* cols,
38 EfiStatus (*set_mode)(struct EfiSimpleTextOutputProtocol* self, size_t mode_num);
39 EfiStatus (*set_attribute)(struct EfiSimpleTextOutputProtocol* self, size_t attribute);
40 EfiStatus (*clear_screen)(struct EfiSimpleTextOutputProtocol* self);
41 EfiStatus (*set_cursor_position)(struct EfiSimpleTextOutputProtocol* self, size_t col,
43 EfiStatus (*enable_cursor)(struct EfiSimpleTextOutputProtocol* self, bool visible);
Dsimple_network_protocol.h103 EfiStatus (*start)(struct EfiSimpleNetworkProtocol* self);
104 EfiStatus (*stop)(struct EfiSimpleNetworkProtocol* self);
105 EfiStatus (*initialize)(struct EfiSimpleNetworkProtocol* self, size_t extra_rx_buffer_size,
107 EfiStatus (*reset)(struct EfiSimpleNetworkProtocol* self, bool extended_verification);
108 EfiStatus (*shutdown)(struct EfiSimpleNetworkProtocol* self);
109 EfiStatus (*receive_filters)(struct EfiSimpleNetworkProtocol* self, uint32_t enable,
112 EfiStatus (*station_address)(struct EfiSimpleNetworkProtocol* self, bool reset,
114 EfiStatus (*statistics)(struct EfiSimpleNetworkProtocol* self, bool reset, size_t* stats_size,
116 EfiStatus (*m_cast_ip_to_mac)(struct EfiSimpleNetworkProtocol* self, bool ipv6, EfiIpAddr* ip,
118 EfiStatus (*nv_data)(struct EfiSimpleNetworkProtocol* self, bool read_write, size_t offset,
[all …]
Dandroid_boot_protocol.h28 EfiStatus (*fastboot_usb_interface_start)(struct EfiAndroidBootProtocol* self,
30 EfiStatus (*fastboot_usb_interface_stop)(struct EfiAndroidBootProtocol* self);
31 EfiStatus (*fastboot_usb_receive)(struct EfiAndroidBootProtocol* self,
33 EfiStatus (*fastboot_usb_send)(struct EfiAndroidBootProtocol* self,
Dblock_io_protocol.h29 EfiStatus (*reset)(EfiBlockIoProtocol* self, bool extended_verification);
30 EfiStatus (*read_blocks)(EfiBlockIoProtocol* self, uint32_t media_id, uint64_t lba,
32 EfiStatus (*write_blocks)(EfiBlockIoProtocol* self, uint32_t media_id, uint64_t lba,
34 EfiStatus (*flush_blocks)(EfiBlockIoProtocol* self);
Dsimple_text_input_protocol.h29 EfiStatus (*reset)(struct EfiSimpleTextInputProtocol* self,
32 EfiStatus (*read_key_stroke)(struct EfiSimpleTextInputProtocol* self,
Driscv_efi_boot_protocol.h29 EfiStatus (*get_boot_hartid)(struct EfiRiscvBootProtocol* self, size_t* boot_hartid);
Dloaded_image_protocol.h37 EfiStatus (*unload)(EfiHandle img);
/bootable/libbootloader/gbl/libefi/src/
Dlib.rs79 use super::EfiStatus;
84 EfiStatusError(EfiStatus),
96 pub fn is_efi_err(&self, code: EfiStatus) -> bool { in is_efi_err()
101 impl From<EfiStatus> for EfiError {
102 fn from(efi_status: EfiStatus) -> EfiError { in from()
108 efi_status & !(1 << (core::mem::size_of::<EfiStatus>() * 8 - 1)), in from()
121 fn map_efi_err(code: EfiStatus) -> EfiResult<()> { in map_efi_err()
785 extern "C" fn free_pool(buf: *mut core::ffi::c_void) -> EfiStatus { in free_pool() argument
798 pub outputs: VecDeque<(EfiHandle, EfiStatus)>,
813 ) -> EfiStatus { in open_protocol() argument
[all …]