html-to-markdown 2.27.2 → 2.27.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +8 -8
- data/ext/html-to-markdown-rb/native/Cargo.toml +1 -1
- data/lib/html_to_markdown/version.rb +1 -1
- data/rust-vendor/getrandom/.cargo-checksum.json +1 -1
- data/rust-vendor/getrandom/.cargo_vcs_info.json +1 -1
- data/rust-vendor/getrandom/CHANGELOG.md +62 -43
- data/rust-vendor/getrandom/Cargo.lock +49 -56
- data/rust-vendor/getrandom/Cargo.toml +2 -2
- data/rust-vendor/getrandom/Cargo.toml.orig +2 -2
- data/rust-vendor/getrandom/src/backends/efi_rng.rs +8 -10
- data/rust-vendor/getrandom/src/backends/getentropy.rs +13 -4
- data/rust-vendor/getrandom/src/backends/linux_android_with_fallback.rs +10 -25
- data/rust-vendor/getrandom/src/backends/netbsd.rs +17 -25
- data/rust-vendor/getrandom/src/backends/rdrand.rs +15 -9
- data/rust-vendor/getrandom/src/backends/rndr.rs +2 -1
- data/rust-vendor/getrandom/src/backends/vxworks.rs +7 -3
- data/rust-vendor/getrandom/src/backends/windows.rs +21 -5
- data/rust-vendor/getrandom/src/utils/lazy_bool.rs +39 -0
- data/rust-vendor/getrandom/src/utils/lazy_ptr.rs +57 -0
- data/rust-vendor/html-to-markdown-rs/Cargo.toml +2 -2
- data/rust-vendor/html-to-markdown-rs/src/converter/text_node.rs +2 -1
- data/rust-vendor/html-to-markdown-rs/tests/issue_216_217_regressions.rs +82 -0
- data/rust-vendor/quote/.cargo-checksum.json +1 -1
- data/rust-vendor/quote/.cargo_vcs_info.json +1 -1
- data/rust-vendor/quote/.github/workflows/ci.yml +2 -2
- data/rust-vendor/quote/Cargo.lock +21 -21
- data/rust-vendor/quote/Cargo.toml +2 -2
- data/rust-vendor/quote/Cargo.toml.orig +2 -2
- data/rust-vendor/quote/README.md +0 -1
- data/rust-vendor/quote/src/lib.rs +1 -1
- data/rust-vendor/quote/src/to_tokens.rs +7 -0
- data/rust-vendor/quote/tests/ui/not-quotable.stderr +1 -1
- data/rust-vendor/quote/tests/ui/not-repeatable.stderr +3 -11
- data/rust-vendor/r-efi/.cargo-checksum.json +1 -1
- data/rust-vendor/r-efi/.cargo_vcs_info.json +1 -1
- data/rust-vendor/r-efi/AUTHORS +1 -0
- data/rust-vendor/r-efi/Cargo.lock +1 -1
- data/rust-vendor/r-efi/Cargo.toml +1 -3
- data/rust-vendor/r-efi/Cargo.toml.orig +1 -5
- data/rust-vendor/r-efi/NEWS.md +16 -0
- data/rust-vendor/r-efi/src/base.rs +1 -1
- data/rust-vendor/r-efi/src/lib.rs +27 -12
- data/rust-vendor/r-efi/src/protocols/absolute_pointer.rs +4 -4
- data/rust-vendor/r-efi/src/protocols/block_io.rs +8 -8
- data/rust-vendor/r-efi/src/protocols/bus_specific_driver_override.rs +2 -2
- data/rust-vendor/r-efi/src/protocols/debug_support.rs +10 -10
- data/rust-vendor/r-efi/src/protocols/debugport.rs +8 -8
- data/rust-vendor/r-efi/src/protocols/decompress.rs +4 -4
- data/rust-vendor/r-efi/src/protocols/device_path_from_text.rs +4 -4
- data/rust-vendor/r-efi/src/protocols/device_path_to_text.rs +4 -4
- data/rust-vendor/r-efi/src/protocols/device_path_utilities.rs +16 -16
- data/rust-vendor/r-efi/src/protocols/disk_io.rs +4 -4
- data/rust-vendor/r-efi/src/protocols/disk_io2.rs +8 -8
- data/rust-vendor/r-efi/src/protocols/driver_binding.rs +6 -6
- data/rust-vendor/r-efi/src/protocols/driver_diagnostics2.rs +2 -2
- data/rust-vendor/r-efi/src/protocols/driver_family_override.rs +2 -2
- data/rust-vendor/r-efi/src/protocols/file.rs +28 -28
- data/rust-vendor/r-efi/src/protocols/graphics_output.rs +6 -6
- data/rust-vendor/r-efi/src/protocols/hii_database.rs +24 -24
- data/rust-vendor/r-efi/src/protocols/hii_font.rs +8 -8
- data/rust-vendor/r-efi/src/protocols/hii_font_ex.rs +10 -10
- data/rust-vendor/r-efi/src/protocols/hii_string.rs +10 -10
- data/rust-vendor/r-efi/src/protocols/ip4.rs +16 -16
- data/rust-vendor/r-efi/src/protocols/ip6.rs +18 -18
- data/rust-vendor/r-efi/src/protocols/load_file.rs +2 -2
- data/rust-vendor/r-efi/src/protocols/loaded_image.rs +2 -2
- data/rust-vendor/r-efi/src/protocols/managed_network.rs +16 -16
- data/rust-vendor/r-efi/src/protocols/memory_attribute.rs +6 -6
- data/rust-vendor/r-efi/src/protocols/mp_services.rs +15 -15
- data/rust-vendor/r-efi/src/protocols/pci_io.rs +26 -26
- data/rust-vendor/r-efi/src/protocols/platform_driver_override.rs +6 -6
- data/rust-vendor/r-efi/src/protocols/rng.rs +4 -4
- data/rust-vendor/r-efi/src/protocols/service_binding.rs +4 -4
- data/rust-vendor/r-efi/src/protocols/shell.rs +81 -81
- data/rust-vendor/r-efi/src/protocols/shell_dynamic_command.rs +4 -4
- data/rust-vendor/r-efi/src/protocols/simple_file_system.rs +2 -2
- data/rust-vendor/r-efi/src/protocols/simple_network.rs +26 -26
- data/rust-vendor/r-efi/src/protocols/simple_text_input.rs +4 -4
- data/rust-vendor/r-efi/src/protocols/simple_text_input_ex.rs +11 -11
- data/rust-vendor/r-efi/src/protocols/simple_text_output.rs +18 -18
- data/rust-vendor/r-efi/src/protocols/tcp4.rs +20 -20
- data/rust-vendor/r-efi/src/protocols/tcp6.rs +18 -18
- data/rust-vendor/r-efi/src/protocols/timestamp.rs +3 -3
- data/rust-vendor/r-efi/src/protocols/udp4.rs +16 -16
- data/rust-vendor/r-efi/src/protocols/udp6.rs +14 -14
- data/rust-vendor/r-efi/src/system.rs +115 -115
- data/rust-vendor/r-efi/src/vendor/intel/console_control.rs +6 -6
- data/rust-vendor/r-efi-5.3.0/.cargo-checksum.json +1 -0
- data/rust-vendor/r-efi-5.3.0/.cargo_vcs_info.json +6 -0
- data/rust-vendor/r-efi-5.3.0/.github/workflows/publish.yml +39 -0
- data/rust-vendor/r-efi-5.3.0/.github/workflows/rust-tests.yml +125 -0
- data/rust-vendor/r-efi-5.3.0/AUTHORS +74 -0
- data/rust-vendor/r-efi-5.3.0/Cargo.lock +16 -0
- data/rust-vendor/r-efi-5.3.0/Cargo.toml +70 -0
- data/rust-vendor/r-efi-5.3.0/Cargo.toml.orig +51 -0
- data/rust-vendor/r-efi-5.3.0/Makefile +85 -0
- data/rust-vendor/r-efi-5.3.0/NEWS.md +301 -0
- data/rust-vendor/r-efi-5.3.0/README.md +99 -0
- data/rust-vendor/r-efi-5.3.0/examples/freestanding.rs +34 -0
- data/rust-vendor/r-efi-5.3.0/examples/gop-query.rs +188 -0
- data/rust-vendor/r-efi-5.3.0/examples/hello-world.rs +55 -0
- data/rust-vendor/r-efi-5.3.0/src/base.rs +993 -0
- data/rust-vendor/r-efi-5.3.0/src/hii.rs +1300 -0
- data/rust-vendor/r-efi-5.3.0/src/lib.rs +182 -0
- data/rust-vendor/r-efi-5.3.0/src/protocols/absolute_pointer.rs +69 -0
- data/rust-vendor/r-efi-5.3.0/src/protocols/block_io.rs +70 -0
- data/rust-vendor/r-efi-5.3.0/src/protocols/bus_specific_driver_override.rs +32 -0
- data/rust-vendor/r-efi-5.3.0/src/protocols/debug_support.rs +835 -0
- data/rust-vendor/r-efi-5.3.0/src/protocols/debugport.rs +42 -0
- data/rust-vendor/r-efi-5.3.0/src/protocols/decompress.rs +37 -0
- data/rust-vendor/r-efi-5.3.0/src/protocols/device_path.rs +82 -0
- data/rust-vendor/r-efi-5.3.0/src/protocols/device_path_from_text.rs +26 -0
- data/rust-vendor/r-efi-5.3.0/src/protocols/device_path_to_text.rs +30 -0
- data/rust-vendor/r-efi-5.3.0/src/protocols/device_path_utilities.rs +63 -0
- data/rust-vendor/r-efi-5.3.0/src/protocols/disk_io.rs +40 -0
- data/rust-vendor/r-efi-5.3.0/src/protocols/disk_io2.rs +58 -0
- data/rust-vendor/r-efi-5.3.0/src/protocols/driver_binding.rs +42 -0
- data/rust-vendor/r-efi-5.3.0/src/protocols/driver_diagnostics2.rs +38 -0
- data/rust-vendor/r-efi-5.3.0/src/protocols/driver_family_override.rs +23 -0
- data/rust-vendor/r-efi-5.3.0/src/protocols/file.rs +183 -0
- data/rust-vendor/r-efi-5.3.0/src/protocols/graphics_output.rs +103 -0
- data/rust-vendor/r-efi-5.3.0/src/protocols/hii_database.rs +299 -0
- data/rust-vendor/r-efi-5.3.0/src/protocols/hii_font.rs +87 -0
- data/rust-vendor/r-efi-5.3.0/src/protocols/hii_font_ex.rs +107 -0
- data/rust-vendor/r-efi-5.3.0/src/protocols/hii_package_list.rs +14 -0
- data/rust-vendor/r-efi-5.3.0/src/protocols/hii_string.rs +71 -0
- data/rust-vendor/r-efi-5.3.0/src/protocols/ip4.rs +202 -0
- data/rust-vendor/r-efi-5.3.0/src/protocols/ip6.rs +264 -0
- data/rust-vendor/r-efi-5.3.0/src/protocols/load_file.rs +26 -0
- data/rust-vendor/r-efi-5.3.0/src/protocols/load_file2.rs +15 -0
- data/rust-vendor/r-efi-5.3.0/src/protocols/loaded_image.rs +39 -0
- data/rust-vendor/r-efi-5.3.0/src/protocols/loaded_image_device_path.rs +13 -0
- data/rust-vendor/r-efi-5.3.0/src/protocols/managed_network.rs +147 -0
- data/rust-vendor/r-efi-5.3.0/src/protocols/memory_attribute.rs +40 -0
- data/rust-vendor/r-efi-5.3.0/src/protocols/mp_services.rs +121 -0
- data/rust-vendor/r-efi-5.3.0/src/protocols/pci_io.rs +203 -0
- data/rust-vendor/r-efi-5.3.0/src/protocols/platform_driver_override.rs +46 -0
- data/rust-vendor/r-efi-5.3.0/src/protocols/rng.rs +83 -0
- data/rust-vendor/r-efi-5.3.0/src/protocols/service_binding.rs +20 -0
- data/rust-vendor/r-efi-5.3.0/src/protocols/shell.rs +295 -0
- data/rust-vendor/r-efi-5.3.0/src/protocols/shell_dynamic_command.rs +33 -0
- data/rust-vendor/r-efi-5.3.0/src/protocols/shell_parameters.rs +23 -0
- data/rust-vendor/r-efi-5.3.0/src/protocols/simple_file_system.rs +26 -0
- data/rust-vendor/r-efi-5.3.0/src/protocols/simple_network.rs +196 -0
- data/rust-vendor/r-efi-5.3.0/src/protocols/simple_text_input.rs +38 -0
- data/rust-vendor/r-efi-5.3.0/src/protocols/simple_text_input_ex.rs +85 -0
- data/rust-vendor/r-efi-5.3.0/src/protocols/simple_text_output.rs +86 -0
- data/rust-vendor/r-efi-5.3.0/src/protocols/tcp4.rs +224 -0
- data/rust-vendor/r-efi-5.3.0/src/protocols/tcp6.rs +202 -0
- data/rust-vendor/r-efi-5.3.0/src/protocols/timestamp.rs +32 -0
- data/rust-vendor/r-efi-5.3.0/src/protocols/udp4.rs +151 -0
- data/rust-vendor/r-efi-5.3.0/src/protocols/udp6.rs +137 -0
- data/rust-vendor/r-efi-5.3.0/src/protocols.rs +54 -0
- data/rust-vendor/r-efi-5.3.0/src/system.rs +1130 -0
- data/rust-vendor/r-efi-5.3.0/src/vendor/intel/console_control.rs +37 -0
- data/rust-vendor/r-efi-5.3.0/src/vendor.rs +10 -0
- data/rust-vendor/tokio/.cargo-checksum.json +1 -1
- data/rust-vendor/tokio/.cargo_vcs_info.json +1 -1
- data/rust-vendor/tokio/CHANGELOG.md +94 -0
- data/rust-vendor/tokio/Cargo.lock +1549 -0
- data/rust-vendor/tokio/Cargo.toml +96 -83
- data/rust-vendor/tokio/Cargo.toml.orig +7 -7
- data/rust-vendor/tokio/README.md +1 -1
- data/rust-vendor/tokio/src/fs/open_options.rs +4 -1
- data/rust-vendor/tokio/src/fs/read.rs +4 -1
- data/rust-vendor/tokio/src/fs/write.rs +4 -1
- data/rust-vendor/tokio/src/io/async_write.rs +3 -4
- data/rust-vendor/tokio/src/io/poll_evented.rs +23 -1
- data/rust-vendor/tokio/src/io/stderr.rs +15 -1
- data/rust-vendor/tokio/src/io/stdout.rs +14 -0
- data/rust-vendor/tokio/src/io/util/async_write_ext.rs +2 -2
- data/rust-vendor/tokio/src/io/util/write_buf.rs +11 -2
- data/rust-vendor/tokio/src/lib.rs +12 -28
- data/rust-vendor/tokio/src/macros/select.rs +6 -8
- data/rust-vendor/tokio/src/net/tcp/socket.rs +25 -1
- data/rust-vendor/tokio/src/net/tcp/stream.rs +40 -1
- data/rust-vendor/tokio/src/process/unix/pidfd_reaper.rs +1 -41
- data/rust-vendor/tokio/src/runtime/blocking/pool.rs +18 -14
- data/rust-vendor/tokio/src/runtime/builder.rs +10 -4
- data/rust-vendor/tokio/src/runtime/handle.rs +3 -2
- data/rust-vendor/tokio/src/runtime/io/driver/uring.rs +49 -61
- data/rust-vendor/tokio/src/runtime/io/driver.rs +6 -5
- data/rust-vendor/tokio/src/runtime/mod.rs +20 -1
- data/rust-vendor/tokio/src/runtime/runtime.rs +71 -1
- data/rust-vendor/tokio/src/runtime/scheduler/current_thread/mod.rs +24 -8
- data/rust-vendor/tokio/src/runtime/scheduler/multi_thread/worker.rs +5 -0
- data/rust-vendor/tokio/src/runtime/task/core.rs +1 -0
- data/rust-vendor/tokio/src/runtime/task/join.rs +7 -3
- data/rust-vendor/tokio/src/runtime/task/list.rs +5 -3
- data/rust-vendor/tokio/src/runtime/task/mod.rs +0 -5
- data/rust-vendor/tokio/src/runtime/tests/loom_blocking.rs +39 -1
- data/rust-vendor/tokio/src/signal/mod.rs +6 -17
- data/rust-vendor/tokio/src/signal/registry.rs +1 -1
- data/rust-vendor/tokio/src/signal/unix.rs +24 -44
- data/rust-vendor/tokio/src/signal/windows/sys.rs +52 -64
- data/rust-vendor/tokio/src/signal/windows.rs +35 -23
- data/rust-vendor/tokio/src/sync/mpsc/mod.rs +3 -1
- data/rust-vendor/tokio/src/sync/oneshot.rs +13 -0
- data/rust-vendor/tokio/src/sync/rwlock.rs +4 -5
- data/rust-vendor/tokio/src/sync/tests/loom_oneshot.rs +27 -1
- data/rust-vendor/tokio/src/task/blocking.rs +16 -1
- data/rust-vendor/tokio/src/task/builder.rs +2 -2
- data/rust-vendor/tokio/src/task/mod.rs +1 -1
- data/rust-vendor/tokio/src/task/spawn.rs +8 -3
- data/rust-vendor/tokio/src/task/yield_now.rs +13 -23
- data/rust-vendor/tokio/src/time/clock.rs +62 -0
- data/rust-vendor/tokio/src/util/memchr.rs +32 -4
- data/rust-vendor/tokio/src/util/sharded_list.rs +6 -4
- data/rust-vendor/tokio/tests/fs_link.rs +54 -0
- data/rust-vendor/tokio/tests/io_async_fd_memory_leak.rs +209 -0
- data/rust-vendor/tokio/tests/io_write_buf.rs +56 -0
- data/rust-vendor/tokio/tests/process_issue_7144.rs +8 -0
- data/rust-vendor/tokio/tests/rt_basic.rs +41 -0
- data/rust-vendor/tokio/tests/rt_common_before_park.rs +92 -0
- data/rust-vendor/tokio/tests/rt_metrics.rs +1 -1
- data/rust-vendor/tokio/tests/rt_panic.rs +12 -0
- data/rust-vendor/tokio/tests/rt_shutdown_err.rs +82 -0
- data/rust-vendor/tokio/tests/rt_threaded.rs +49 -1
- data/rust-vendor/tokio/tests/rt_unstable_metrics.rs +32 -0
- data/rust-vendor/tokio/tests/tcp_connect.rs +2 -3
- data/rust-vendor/tokio/tests/tcp_shutdown.rs +1 -3
- data/rust-vendor/tokio/tests/tcp_socket.rs +3 -4
- data/rust-vendor/tokio/tests/tcp_stream.rs +3 -0
- metadata +78 -3
- data/rust-vendor/getrandom/src/utils/lazy.rs +0 -64
|
@@ -68,7 +68,7 @@ pub const ATTRIBUTE_OPERATION_MAXIMUM: AttributeOperation = 0x00000005;
|
|
|
68
68
|
|
|
69
69
|
pub const PASS_THROUGH_BAR: u8 = 0xff;
|
|
70
70
|
|
|
71
|
-
pub type ProtocolPollIoMem =
|
|
71
|
+
pub type ProtocolPollIoMem = unsafe extern "efiapi" fn(
|
|
72
72
|
*mut Protocol,
|
|
73
73
|
Width,
|
|
74
74
|
u8,
|
|
@@ -77,26 +77,26 @@ pub type ProtocolPollIoMem = eficall! {fn(
|
|
|
77
77
|
u64,
|
|
78
78
|
u64,
|
|
79
79
|
*mut u64,
|
|
80
|
-
) -> crate::base::Status
|
|
80
|
+
) -> crate::base::Status;
|
|
81
81
|
|
|
82
|
-
pub type ProtocolIoMem =
|
|
82
|
+
pub type ProtocolIoMem = unsafe extern "efiapi" fn(
|
|
83
83
|
*mut Protocol,
|
|
84
84
|
Width,
|
|
85
85
|
u8,
|
|
86
86
|
u64,
|
|
87
87
|
usize,
|
|
88
88
|
*mut core::ffi::c_void,
|
|
89
|
-
) -> crate::base::Status
|
|
89
|
+
) -> crate::base::Status;
|
|
90
90
|
|
|
91
|
-
pub type ProtocolConfig =
|
|
91
|
+
pub type ProtocolConfig = unsafe extern "efiapi" fn(
|
|
92
92
|
*mut Protocol,
|
|
93
93
|
Width,
|
|
94
94
|
u32,
|
|
95
95
|
usize,
|
|
96
96
|
*mut core::ffi::c_void,
|
|
97
|
-
) -> crate::base::Status
|
|
97
|
+
) -> crate::base::Status;
|
|
98
98
|
|
|
99
|
-
pub type ProtocolCopyMem =
|
|
99
|
+
pub type ProtocolCopyMem = unsafe extern "efiapi" fn(
|
|
100
100
|
*mut Protocol,
|
|
101
101
|
Width,
|
|
102
102
|
u8,
|
|
@@ -104,70 +104,70 @@ pub type ProtocolCopyMem = eficall! {fn(
|
|
|
104
104
|
u8,
|
|
105
105
|
u64,
|
|
106
106
|
usize,
|
|
107
|
-
) -> crate::base::Status
|
|
107
|
+
) -> crate::base::Status;
|
|
108
108
|
|
|
109
|
-
pub type ProtocolMap =
|
|
109
|
+
pub type ProtocolMap = unsafe extern "efiapi" fn(
|
|
110
110
|
*mut Protocol,
|
|
111
111
|
Operation,
|
|
112
112
|
*mut core::ffi::c_void,
|
|
113
113
|
*mut usize,
|
|
114
114
|
*mut crate::base::PhysicalAddress,
|
|
115
115
|
*mut *mut core::ffi::c_void,
|
|
116
|
-
) -> crate::base::Status
|
|
116
|
+
) -> crate::base::Status;
|
|
117
117
|
|
|
118
|
-
pub type ProtocolUnmap =
|
|
118
|
+
pub type ProtocolUnmap = unsafe extern "efiapi" fn(
|
|
119
119
|
*mut Protocol,
|
|
120
120
|
*mut core::ffi::c_void,
|
|
121
|
-
) -> crate::base::Status
|
|
121
|
+
) -> crate::base::Status;
|
|
122
122
|
|
|
123
|
-
pub type ProtocolAllocateBuffer =
|
|
123
|
+
pub type ProtocolAllocateBuffer = unsafe extern "efiapi" fn(
|
|
124
124
|
*mut Protocol,
|
|
125
125
|
crate::system::AllocateType,
|
|
126
126
|
crate::system::MemoryType,
|
|
127
127
|
usize,
|
|
128
128
|
*mut *mut core::ffi::c_void,
|
|
129
129
|
Attribute,
|
|
130
|
-
) -> crate::base::Status
|
|
130
|
+
) -> crate::base::Status;
|
|
131
131
|
|
|
132
|
-
pub type ProtocolFreeBuffer =
|
|
132
|
+
pub type ProtocolFreeBuffer = unsafe extern "efiapi" fn(
|
|
133
133
|
*mut Protocol,
|
|
134
134
|
usize,
|
|
135
135
|
*mut core::ffi::c_void,
|
|
136
|
-
) -> crate::base::Status
|
|
136
|
+
) -> crate::base::Status;
|
|
137
137
|
|
|
138
|
-
pub type ProtocolFlush =
|
|
138
|
+
pub type ProtocolFlush = unsafe extern "efiapi" fn(
|
|
139
139
|
*mut Protocol,
|
|
140
|
-
) -> crate::base::Status
|
|
140
|
+
) -> crate::base::Status;
|
|
141
141
|
|
|
142
|
-
pub type ProtocolGetLocation =
|
|
142
|
+
pub type ProtocolGetLocation = unsafe extern "efiapi" fn(
|
|
143
143
|
*mut Protocol,
|
|
144
144
|
*mut usize,
|
|
145
145
|
*mut usize,
|
|
146
146
|
*mut usize,
|
|
147
147
|
*mut usize,
|
|
148
|
-
) -> crate::base::Status
|
|
148
|
+
) -> crate::base::Status;
|
|
149
149
|
|
|
150
|
-
pub type ProtocolAttributes =
|
|
150
|
+
pub type ProtocolAttributes = unsafe extern "efiapi" fn(
|
|
151
151
|
*mut Protocol,
|
|
152
152
|
AttributeOperation,
|
|
153
153
|
Attribute,
|
|
154
154
|
*mut Attribute,
|
|
155
|
-
) -> crate::base::Status
|
|
155
|
+
) -> crate::base::Status;
|
|
156
156
|
|
|
157
|
-
pub type ProtocolGetBarAttributes =
|
|
157
|
+
pub type ProtocolGetBarAttributes = unsafe extern "efiapi" fn(
|
|
158
158
|
*mut Protocol,
|
|
159
159
|
u8,
|
|
160
160
|
*mut Attribute,
|
|
161
161
|
*mut *mut core::ffi::c_void,
|
|
162
|
-
) -> crate::base::Status
|
|
162
|
+
) -> crate::base::Status;
|
|
163
163
|
|
|
164
|
-
pub type ProtocolSetBarAttributes =
|
|
164
|
+
pub type ProtocolSetBarAttributes = unsafe extern "efiapi" fn(
|
|
165
165
|
*mut Protocol,
|
|
166
166
|
Attribute,
|
|
167
167
|
u8,
|
|
168
168
|
*mut u64,
|
|
169
169
|
*mut u64,
|
|
170
|
-
) -> crate::base::Status
|
|
170
|
+
) -> crate::base::Status;
|
|
171
171
|
|
|
172
172
|
#[repr(C)]
|
|
173
173
|
pub struct Access {
|
|
@@ -19,24 +19,24 @@ pub const PROTOCOL_GUID: crate::base::Guid = crate::base::Guid::from_fields(
|
|
|
19
19
|
&[0x00, 0x90, 0x27, 0x3f, 0xc1, 0x4d],
|
|
20
20
|
);
|
|
21
21
|
|
|
22
|
-
pub type ProtocolGetDriver =
|
|
22
|
+
pub type ProtocolGetDriver = unsafe extern "efiapi" fn(
|
|
23
23
|
*mut Protocol,
|
|
24
24
|
crate::base::Handle,
|
|
25
25
|
*mut crate::base::Handle,
|
|
26
|
-
) -> crate::base::Status
|
|
26
|
+
) -> crate::base::Status;
|
|
27
27
|
|
|
28
|
-
pub type ProtocolGetDriverPath =
|
|
28
|
+
pub type ProtocolGetDriverPath = unsafe extern "efiapi" fn(
|
|
29
29
|
*mut Protocol,
|
|
30
30
|
crate::base::Handle,
|
|
31
31
|
*mut *mut crate::protocols::device_path::Protocol
|
|
32
|
-
) -> crate::base::Status
|
|
32
|
+
) -> crate::base::Status;
|
|
33
33
|
|
|
34
|
-
pub type ProtocolDriverLoaded =
|
|
34
|
+
pub type ProtocolDriverLoaded = unsafe extern "efiapi" fn(
|
|
35
35
|
*mut Protocol,
|
|
36
36
|
crate::base::Handle,
|
|
37
37
|
*mut crate::protocols::device_path::Protocol,
|
|
38
38
|
crate::base::Handle,
|
|
39
|
-
) -> crate::base::Status
|
|
39
|
+
) -> crate::base::Status;
|
|
40
40
|
|
|
41
41
|
#[repr(C)]
|
|
42
42
|
pub struct Protocol {
|
|
@@ -63,18 +63,18 @@ pub const ALGORITHM_RAW: Algorithm = crate::base::Guid::from_fields(
|
|
|
63
63
|
&[0x7f, 0xfd, 0xc4, 0xb6, 0x85, 0x61],
|
|
64
64
|
);
|
|
65
65
|
|
|
66
|
-
pub type ProtocolGetInfo =
|
|
66
|
+
pub type ProtocolGetInfo = unsafe extern "efiapi" fn(
|
|
67
67
|
*mut Protocol,
|
|
68
68
|
*mut usize,
|
|
69
69
|
*mut Algorithm,
|
|
70
|
-
) -> crate::base::Status
|
|
70
|
+
) -> crate::base::Status;
|
|
71
71
|
|
|
72
|
-
pub type ProtocolGetRng =
|
|
72
|
+
pub type ProtocolGetRng = unsafe extern "efiapi" fn(
|
|
73
73
|
*mut Protocol,
|
|
74
74
|
*mut Algorithm,
|
|
75
75
|
usize,
|
|
76
76
|
*mut u8,
|
|
77
|
-
) -> crate::base::Status
|
|
77
|
+
) -> crate::base::Status;
|
|
78
78
|
|
|
79
79
|
#[repr(C)]
|
|
80
80
|
pub struct Protocol {
|
|
@@ -3,15 +3,15 @@
|
|
|
3
3
|
//! Provides services that are required to create and destroy child handles
|
|
4
4
|
//! that support a given set of protocols.
|
|
5
5
|
|
|
6
|
-
pub type ProtocolCreateChild =
|
|
6
|
+
pub type ProtocolCreateChild = unsafe extern "efiapi" fn(
|
|
7
7
|
*mut Protocol,
|
|
8
8
|
*mut crate::base::Handle,
|
|
9
|
-
) -> crate::base::Status
|
|
9
|
+
) -> crate::base::Status;
|
|
10
10
|
|
|
11
|
-
pub type ProtocolDestroyChild =
|
|
11
|
+
pub type ProtocolDestroyChild = unsafe extern "efiapi" fn(
|
|
12
12
|
*mut Protocol,
|
|
13
13
|
crate::base::Handle,
|
|
14
|
-
) -> crate::base::Status
|
|
14
|
+
) -> crate::base::Status;
|
|
15
15
|
|
|
16
16
|
#[repr(C)]
|
|
17
17
|
pub struct Protocol {
|
|
@@ -36,205 +36,205 @@ pub struct FileInfo {
|
|
|
36
36
|
pub info: *mut crate::protocols::file::Info,
|
|
37
37
|
}
|
|
38
38
|
|
|
39
|
-
pub type Execute =
|
|
39
|
+
pub type Execute = unsafe extern "efiapi" fn(
|
|
40
40
|
*mut crate::base::Handle,
|
|
41
41
|
*mut crate::base::Char16,
|
|
42
42
|
*mut *mut crate::base::Char16,
|
|
43
43
|
*mut crate::base::Status,
|
|
44
|
-
) -> crate::base::Status
|
|
44
|
+
) -> crate::base::Status;
|
|
45
45
|
|
|
46
|
-
pub type GetEnv =
|
|
46
|
+
pub type GetEnv = unsafe extern "efiapi" fn(
|
|
47
47
|
*mut crate::base::Char16,
|
|
48
|
-
) -> *mut crate::base::Char16
|
|
48
|
+
) -> *mut crate::base::Char16;
|
|
49
49
|
|
|
50
|
-
pub type SetEnv =
|
|
50
|
+
pub type SetEnv = unsafe extern "efiapi" fn(
|
|
51
51
|
*mut crate::base::Char16,
|
|
52
52
|
*mut crate::base::Char16,
|
|
53
53
|
crate::base::Boolean,
|
|
54
|
-
) -> crate::base::Status
|
|
54
|
+
) -> crate::base::Status;
|
|
55
55
|
|
|
56
|
-
pub type GetAlias =
|
|
56
|
+
pub type GetAlias = unsafe extern "efiapi" fn(
|
|
57
57
|
*mut crate::base::Char16,
|
|
58
58
|
*mut crate::base::Boolean,
|
|
59
|
-
) -> *mut crate::base::Char16
|
|
59
|
+
) -> *mut crate::base::Char16;
|
|
60
60
|
|
|
61
|
-
pub type SetAlias =
|
|
61
|
+
pub type SetAlias = unsafe extern "efiapi" fn(
|
|
62
62
|
*mut crate::base::Char16,
|
|
63
63
|
*mut crate::base::Char16,
|
|
64
64
|
crate::base::Boolean,
|
|
65
65
|
crate::base::Boolean,
|
|
66
|
-
) -> crate::base::Status
|
|
66
|
+
) -> crate::base::Status;
|
|
67
67
|
|
|
68
|
-
pub type GetHelpText =
|
|
68
|
+
pub type GetHelpText = unsafe extern "efiapi" fn(
|
|
69
69
|
*mut crate::base::Char16,
|
|
70
70
|
*mut crate::base::Char16,
|
|
71
71
|
*mut *mut crate::base::Char16,
|
|
72
|
-
) -> crate::base::Status
|
|
72
|
+
) -> crate::base::Status;
|
|
73
73
|
|
|
74
|
-
pub type GetDevicePathFromMap =
|
|
74
|
+
pub type GetDevicePathFromMap = unsafe extern "efiapi" fn(
|
|
75
75
|
*mut crate::base::Char16,
|
|
76
|
-
) -> *mut crate::protocols::device_path::Protocol
|
|
76
|
+
) -> *mut crate::protocols::device_path::Protocol;
|
|
77
77
|
|
|
78
|
-
pub type GetMapFromDevicePath =
|
|
78
|
+
pub type GetMapFromDevicePath = unsafe extern "efiapi" fn(
|
|
79
79
|
*mut *mut crate::protocols::device_path::Protocol,
|
|
80
|
-
) -> *mut crate::base::Char16
|
|
80
|
+
) -> *mut crate::base::Char16;
|
|
81
81
|
|
|
82
|
-
pub type GetDevicePathFromFilePath =
|
|
82
|
+
pub type GetDevicePathFromFilePath = unsafe extern "efiapi" fn(
|
|
83
83
|
*mut crate::base::Char16,
|
|
84
|
-
) -> *mut crate::protocols::device_path::Protocol
|
|
84
|
+
) -> *mut crate::protocols::device_path::Protocol;
|
|
85
85
|
|
|
86
|
-
pub type GetFilePathFromDevicePath =
|
|
86
|
+
pub type GetFilePathFromDevicePath = unsafe extern "efiapi" fn(
|
|
87
87
|
*mut crate::protocols::device_path::Protocol,
|
|
88
|
-
) -> *mut crate::base::Char16
|
|
88
|
+
) -> *mut crate::base::Char16;
|
|
89
89
|
|
|
90
|
-
pub type SetMap =
|
|
90
|
+
pub type SetMap = unsafe extern "efiapi" fn(
|
|
91
91
|
*mut crate::protocols::device_path::Protocol,
|
|
92
92
|
*mut crate::base::Char16,
|
|
93
|
-
) -> crate::base::Status
|
|
93
|
+
) -> crate::base::Status;
|
|
94
94
|
|
|
95
|
-
pub type GetCurDir =
|
|
95
|
+
pub type GetCurDir = unsafe extern "efiapi" fn(
|
|
96
96
|
*mut crate::base::Char16,
|
|
97
|
-
) -> *mut crate::base::Char16
|
|
97
|
+
) -> *mut crate::base::Char16;
|
|
98
98
|
|
|
99
|
-
pub type SetCurDir =
|
|
99
|
+
pub type SetCurDir = unsafe extern "efiapi" fn(
|
|
100
100
|
*mut crate::base::Char16,
|
|
101
101
|
*mut crate::base::Char16,
|
|
102
|
-
) -> crate::base::Status
|
|
102
|
+
) -> crate::base::Status;
|
|
103
103
|
|
|
104
|
-
pub type OpenFileList =
|
|
104
|
+
pub type OpenFileList = unsafe extern "efiapi" fn(
|
|
105
105
|
*mut crate::base::Char16,
|
|
106
106
|
u64,
|
|
107
107
|
*mut *mut FileInfo,
|
|
108
|
-
) -> crate::base::Status
|
|
108
|
+
) -> crate::base::Status;
|
|
109
109
|
|
|
110
|
-
pub type FreeFileList =
|
|
110
|
+
pub type FreeFileList = unsafe extern "efiapi" fn(
|
|
111
111
|
*mut *mut FileInfo,
|
|
112
|
-
) -> crate::base::Status
|
|
112
|
+
) -> crate::base::Status;
|
|
113
113
|
|
|
114
|
-
pub type RemoveDupInFileList =
|
|
114
|
+
pub type RemoveDupInFileList = unsafe extern "efiapi" fn(
|
|
115
115
|
*mut *mut FileInfo,
|
|
116
|
-
) -> crate::base::Status
|
|
116
|
+
) -> crate::base::Status;
|
|
117
117
|
|
|
118
|
-
pub type BatchIsActive =
|
|
118
|
+
pub type BatchIsActive = unsafe extern "efiapi" fn() -> crate::base::Boolean;
|
|
119
119
|
|
|
120
|
-
pub type IsRootShell =
|
|
120
|
+
pub type IsRootShell = unsafe extern "efiapi" fn() -> crate::base::Boolean;
|
|
121
121
|
|
|
122
|
-
pub type EnablePageBreak =
|
|
122
|
+
pub type EnablePageBreak = unsafe extern "efiapi" fn();
|
|
123
123
|
|
|
124
|
-
pub type DisablePageBreak =
|
|
124
|
+
pub type DisablePageBreak = unsafe extern "efiapi" fn();
|
|
125
125
|
|
|
126
|
-
pub type GetPageBreak =
|
|
126
|
+
pub type GetPageBreak = unsafe extern "efiapi" fn() -> crate::base::Boolean;
|
|
127
127
|
|
|
128
|
-
pub type GetDeviceName =
|
|
128
|
+
pub type GetDeviceName = unsafe extern "efiapi" fn(
|
|
129
129
|
crate::base::Handle,
|
|
130
130
|
DeviceNameFlags,
|
|
131
131
|
*mut crate::base::Char8,
|
|
132
132
|
*mut *mut crate::base::Char16,
|
|
133
|
-
) -> crate::base::Status
|
|
133
|
+
) -> crate::base::Status;
|
|
134
134
|
|
|
135
|
-
pub type GetFileInfo =
|
|
135
|
+
pub type GetFileInfo = unsafe extern "efiapi" fn(
|
|
136
136
|
FileHandle,
|
|
137
|
-
) -> *mut crate::protocols::file::Info
|
|
137
|
+
) -> *mut crate::protocols::file::Info;
|
|
138
138
|
|
|
139
|
-
pub type SetFileInfo =
|
|
139
|
+
pub type SetFileInfo = unsafe extern "efiapi" fn(
|
|
140
140
|
FileHandle,
|
|
141
141
|
*mut crate::protocols::file::Info
|
|
142
|
-
) -> crate::base::Status
|
|
142
|
+
) -> crate::base::Status;
|
|
143
143
|
|
|
144
|
-
pub type OpenFileByName =
|
|
144
|
+
pub type OpenFileByName = unsafe extern "efiapi" fn(
|
|
145
145
|
*mut crate::base::Char16,
|
|
146
146
|
*mut FileHandle,
|
|
147
147
|
u64,
|
|
148
|
-
) -> crate::base::Status
|
|
148
|
+
) -> crate::base::Status;
|
|
149
149
|
|
|
150
|
-
pub type CloseFile =
|
|
150
|
+
pub type CloseFile = unsafe extern "efiapi" fn(
|
|
151
151
|
FileHandle,
|
|
152
|
-
) -> crate::base::Status
|
|
152
|
+
) -> crate::base::Status;
|
|
153
153
|
|
|
154
|
-
pub type CreateFile =
|
|
154
|
+
pub type CreateFile = unsafe extern "efiapi" fn(
|
|
155
155
|
*mut crate::base::Char16,
|
|
156
156
|
u64,
|
|
157
157
|
*mut FileHandle,
|
|
158
|
-
) -> crate::base::Status
|
|
158
|
+
) -> crate::base::Status;
|
|
159
159
|
|
|
160
|
-
pub type ReadFile =
|
|
160
|
+
pub type ReadFile = unsafe extern "efiapi" fn(
|
|
161
161
|
FileHandle,
|
|
162
162
|
*mut usize,
|
|
163
163
|
*mut core::ffi::c_void,
|
|
164
|
-
) -> crate::base::Status
|
|
164
|
+
) -> crate::base::Status;
|
|
165
165
|
|
|
166
|
-
pub type WriteFile =
|
|
166
|
+
pub type WriteFile = unsafe extern "efiapi" fn(
|
|
167
167
|
FileHandle,
|
|
168
168
|
*mut usize,
|
|
169
169
|
*mut core::ffi::c_void,
|
|
170
|
-
) -> crate::base::Status
|
|
170
|
+
) -> crate::base::Status;
|
|
171
171
|
|
|
172
|
-
pub type DeleteFile =
|
|
172
|
+
pub type DeleteFile = unsafe extern "efiapi" fn(
|
|
173
173
|
FileHandle,
|
|
174
|
-
) -> crate::base::Status
|
|
174
|
+
) -> crate::base::Status;
|
|
175
175
|
|
|
176
|
-
pub type DeleteFileByName =
|
|
176
|
+
pub type DeleteFileByName = unsafe extern "efiapi" fn(
|
|
177
177
|
*mut crate::base::Char16,
|
|
178
|
-
) -> crate::base::Status
|
|
178
|
+
) -> crate::base::Status;
|
|
179
179
|
|
|
180
|
-
pub type GetFilePosition =
|
|
180
|
+
pub type GetFilePosition = unsafe extern "efiapi" fn(
|
|
181
181
|
FileHandle,
|
|
182
182
|
*mut u64,
|
|
183
|
-
) -> crate::base::Status
|
|
183
|
+
) -> crate::base::Status;
|
|
184
184
|
|
|
185
|
-
pub type SetFilePosition =
|
|
185
|
+
pub type SetFilePosition = unsafe extern "efiapi" fn(
|
|
186
186
|
FileHandle,
|
|
187
187
|
u64,
|
|
188
|
-
) -> crate::base::Status
|
|
188
|
+
) -> crate::base::Status;
|
|
189
189
|
|
|
190
|
-
pub type FlushFile =
|
|
190
|
+
pub type FlushFile = unsafe extern "efiapi" fn(
|
|
191
191
|
FileHandle,
|
|
192
|
-
) -> crate::base::Status
|
|
192
|
+
) -> crate::base::Status;
|
|
193
193
|
|
|
194
|
-
pub type FindFiles =
|
|
194
|
+
pub type FindFiles = unsafe extern "efiapi" fn(
|
|
195
195
|
*mut crate::base::Char16,
|
|
196
196
|
*mut *mut FileInfo,
|
|
197
|
-
) -> crate::base::Status
|
|
197
|
+
) -> crate::base::Status;
|
|
198
198
|
|
|
199
|
-
pub type FindFilesInDir =
|
|
199
|
+
pub type FindFilesInDir = unsafe extern "efiapi" fn(
|
|
200
200
|
FileHandle,
|
|
201
201
|
*mut *mut FileInfo,
|
|
202
|
-
) -> crate::base::Status
|
|
202
|
+
) -> crate::base::Status;
|
|
203
203
|
|
|
204
|
-
pub type GetFileSize =
|
|
204
|
+
pub type GetFileSize = unsafe extern "efiapi" fn(
|
|
205
205
|
FileHandle,
|
|
206
206
|
*mut u64,
|
|
207
|
-
) -> crate::base::Status
|
|
207
|
+
) -> crate::base::Status;
|
|
208
208
|
|
|
209
|
-
pub type OpenRoot =
|
|
209
|
+
pub type OpenRoot = unsafe extern "efiapi" fn(
|
|
210
210
|
*mut crate::protocols::device_path::Protocol,
|
|
211
211
|
*mut FileHandle,
|
|
212
|
-
) -> crate::base::Status
|
|
212
|
+
) -> crate::base::Status;
|
|
213
213
|
|
|
214
|
-
pub type OpenRootByHandle =
|
|
214
|
+
pub type OpenRootByHandle = unsafe extern "efiapi" fn(
|
|
215
215
|
crate::base::Handle,
|
|
216
216
|
*mut FileHandle,
|
|
217
|
-
) -> crate::base::Status
|
|
217
|
+
) -> crate::base::Status;
|
|
218
218
|
|
|
219
|
-
pub type RegisterGuidName =
|
|
219
|
+
pub type RegisterGuidName = unsafe extern "efiapi" fn(
|
|
220
220
|
*mut crate::base::Guid,
|
|
221
221
|
*mut crate::base::Char16,
|
|
222
|
-
) -> crate::base::Status
|
|
222
|
+
) -> crate::base::Status;
|
|
223
223
|
|
|
224
|
-
pub type GetGuidName =
|
|
224
|
+
pub type GetGuidName = unsafe extern "efiapi" fn(
|
|
225
225
|
*mut crate::base::Guid,
|
|
226
226
|
*mut *mut crate::base::Char16,
|
|
227
|
-
) -> crate::base::Status
|
|
227
|
+
) -> crate::base::Status;
|
|
228
228
|
|
|
229
|
-
pub type GetGuidFromName =
|
|
229
|
+
pub type GetGuidFromName = unsafe extern "efiapi" fn(
|
|
230
230
|
*mut crate::base::Char16,
|
|
231
231
|
*mut crate::base::Guid,
|
|
232
|
-
) -> crate::base::Status
|
|
232
|
+
) -> crate::base::Status;
|
|
233
233
|
|
|
234
|
-
pub type GetEnvEx =
|
|
234
|
+
pub type GetEnvEx = unsafe extern "efiapi" fn(
|
|
235
235
|
*mut crate::base::Char16,
|
|
236
236
|
*mut u32,
|
|
237
|
-
) -> *mut crate::base::Char16
|
|
237
|
+
) -> *mut crate::base::Char16;
|
|
238
238
|
|
|
239
239
|
#[repr(C)]
|
|
240
240
|
pub struct Protocol {
|
|
@@ -13,17 +13,17 @@ pub const PROTOCOL_GUID: crate::base::Guid = crate::base::Guid::from_fields(
|
|
|
13
13
|
&[0xa3, 0xdf, 0xac, 0x8a, 0x27, 0xc3],
|
|
14
14
|
);
|
|
15
15
|
|
|
16
|
-
pub type CommandHandler =
|
|
16
|
+
pub type CommandHandler = unsafe extern "efiapi" fn(
|
|
17
17
|
*mut Protocol,
|
|
18
18
|
*mut crate::system::SystemTable,
|
|
19
19
|
*mut shell_parameters::Protocol,
|
|
20
20
|
*mut shell::Protocol,
|
|
21
|
-
) -> crate::base::Status
|
|
21
|
+
) -> crate::base::Status;
|
|
22
22
|
|
|
23
|
-
pub type CommandGetHelp =
|
|
23
|
+
pub type CommandGetHelp = unsafe extern "efiapi" fn(
|
|
24
24
|
*mut Protocol,
|
|
25
25
|
*mut crate::base::Char8,
|
|
26
|
-
) -> crate::base::Status
|
|
26
|
+
) -> crate::base::Status;
|
|
27
27
|
|
|
28
28
|
#[repr(C)]
|
|
29
29
|
pub struct Protocol {
|
|
@@ -14,10 +14,10 @@ pub const PROTOCOL_GUID: crate::base::Guid = crate::base::Guid::from_fields(
|
|
|
14
14
|
|
|
15
15
|
pub const REVISION: u64 = 0x0000000000010000u64;
|
|
16
16
|
|
|
17
|
-
pub type ProtocolOpenVolume =
|
|
17
|
+
pub type ProtocolOpenVolume = unsafe extern "efiapi" fn(
|
|
18
18
|
*mut Protocol,
|
|
19
19
|
*mut *mut crate::protocols::file::Protocol,
|
|
20
|
-
) -> crate::base::Status
|
|
20
|
+
) -> crate::base::Status;
|
|
21
21
|
|
|
22
22
|
#[repr(C)]
|
|
23
23
|
pub struct Protocol {
|
|
@@ -89,73 +89,73 @@ pub struct Statistics {
|
|
|
89
89
|
pub tx_retry_frames: u64,
|
|
90
90
|
}
|
|
91
91
|
|
|
92
|
-
pub type ProtocolStart =
|
|
92
|
+
pub type ProtocolStart = unsafe extern "efiapi" fn(
|
|
93
93
|
*mut Protocol,
|
|
94
|
-
) -> crate::base::Status
|
|
94
|
+
) -> crate::base::Status;
|
|
95
95
|
|
|
96
|
-
pub type ProtocolStop =
|
|
96
|
+
pub type ProtocolStop = unsafe extern "efiapi" fn(
|
|
97
97
|
*mut Protocol,
|
|
98
|
-
) -> crate::base::Status
|
|
98
|
+
) -> crate::base::Status;
|
|
99
99
|
|
|
100
|
-
pub type ProtocolInitialize =
|
|
100
|
+
pub type ProtocolInitialize = unsafe extern "efiapi" fn(
|
|
101
101
|
*mut Protocol,
|
|
102
102
|
usize,
|
|
103
103
|
usize,
|
|
104
|
-
) -> crate::base::Status
|
|
104
|
+
) -> crate::base::Status;
|
|
105
105
|
|
|
106
|
-
pub type ProtocolReset =
|
|
106
|
+
pub type ProtocolReset = unsafe extern "efiapi" fn(
|
|
107
107
|
*mut Protocol,
|
|
108
108
|
crate::base::Boolean,
|
|
109
|
-
) -> crate::base::Status
|
|
109
|
+
) -> crate::base::Status;
|
|
110
110
|
|
|
111
|
-
pub type ProtocolShutdown =
|
|
111
|
+
pub type ProtocolShutdown = unsafe extern "efiapi" fn(
|
|
112
112
|
*mut Protocol,
|
|
113
|
-
) -> crate::base::Status
|
|
113
|
+
) -> crate::base::Status;
|
|
114
114
|
|
|
115
|
-
pub type ProtocolReceiveFilters =
|
|
115
|
+
pub type ProtocolReceiveFilters = unsafe extern "efiapi" fn(
|
|
116
116
|
*mut Protocol,
|
|
117
117
|
u32,
|
|
118
118
|
u32,
|
|
119
119
|
crate::base::Boolean,
|
|
120
120
|
usize,
|
|
121
121
|
*mut crate::base::MacAddress,
|
|
122
|
-
) -> crate::base::Status
|
|
122
|
+
) -> crate::base::Status;
|
|
123
123
|
|
|
124
|
-
pub type ProtocolStationAddress =
|
|
124
|
+
pub type ProtocolStationAddress = unsafe extern "efiapi" fn(
|
|
125
125
|
*mut Protocol,
|
|
126
126
|
crate::base::Boolean,
|
|
127
127
|
*mut crate::base::MacAddress,
|
|
128
|
-
) -> crate::base::Status
|
|
128
|
+
) -> crate::base::Status;
|
|
129
129
|
|
|
130
|
-
pub type ProtocolStatistics =
|
|
130
|
+
pub type ProtocolStatistics = unsafe extern "efiapi" fn(
|
|
131
131
|
*mut Protocol,
|
|
132
132
|
crate::base::Boolean,
|
|
133
133
|
*mut usize,
|
|
134
134
|
*mut Statistics,
|
|
135
|
-
) -> crate::base::Status
|
|
135
|
+
) -> crate::base::Status;
|
|
136
136
|
|
|
137
|
-
pub type ProtocolMcastIpToMac =
|
|
137
|
+
pub type ProtocolMcastIpToMac = unsafe extern "efiapi" fn(
|
|
138
138
|
*mut Protocol,
|
|
139
139
|
crate::base::Boolean,
|
|
140
140
|
*mut crate::base::IpAddress,
|
|
141
141
|
*mut crate::base::MacAddress,
|
|
142
|
-
) -> crate::base::Status
|
|
142
|
+
) -> crate::base::Status;
|
|
143
143
|
|
|
144
|
-
pub type ProtocolNvData =
|
|
144
|
+
pub type ProtocolNvData = unsafe extern "efiapi" fn(
|
|
145
145
|
*mut Protocol,
|
|
146
146
|
crate::base::Boolean,
|
|
147
147
|
usize,
|
|
148
148
|
usize,
|
|
149
149
|
*mut core::ffi::c_void,
|
|
150
|
-
) -> crate::base::Status
|
|
150
|
+
) -> crate::base::Status;
|
|
151
151
|
|
|
152
|
-
pub type ProtocolGetStatus =
|
|
152
|
+
pub type ProtocolGetStatus = unsafe extern "efiapi" fn(
|
|
153
153
|
*mut Protocol,
|
|
154
154
|
*mut u32,
|
|
155
155
|
*mut *mut core::ffi::c_void,
|
|
156
|
-
) -> crate::base::Status
|
|
156
|
+
) -> crate::base::Status;
|
|
157
157
|
|
|
158
|
-
pub type ProtocolTransmit =
|
|
158
|
+
pub type ProtocolTransmit = unsafe extern "efiapi" fn(
|
|
159
159
|
*mut Protocol,
|
|
160
160
|
usize,
|
|
161
161
|
usize,
|
|
@@ -163,9 +163,9 @@ pub type ProtocolTransmit = eficall! {fn(
|
|
|
163
163
|
*mut crate::base::MacAddress,
|
|
164
164
|
*mut crate::base::MacAddress,
|
|
165
165
|
*mut u16,
|
|
166
|
-
) -> crate::base::Status
|
|
166
|
+
) -> crate::base::Status;
|
|
167
167
|
|
|
168
|
-
pub type ProtocolReceive =
|
|
168
|
+
pub type ProtocolReceive = unsafe extern "efiapi" fn(
|
|
169
169
|
*mut Protocol,
|
|
170
170
|
*mut usize,
|
|
171
171
|
*mut usize,
|
|
@@ -173,7 +173,7 @@ pub type ProtocolReceive = eficall! {fn(
|
|
|
173
173
|
*mut crate::base::MacAddress,
|
|
174
174
|
*mut crate::base::MacAddress,
|
|
175
175
|
*mut u16,
|
|
176
|
-
) -> crate::base::Status
|
|
176
|
+
) -> crate::base::Status;
|
|
177
177
|
|
|
178
178
|
#[repr(C)]
|
|
179
179
|
pub struct Protocol {
|
|
@@ -20,15 +20,15 @@ pub struct InputKey {
|
|
|
20
20
|
pub unicode_char: crate::base::Char16,
|
|
21
21
|
}
|
|
22
22
|
|
|
23
|
-
pub type ProtocolReset =
|
|
23
|
+
pub type ProtocolReset = unsafe extern "efiapi" fn(
|
|
24
24
|
*mut Protocol,
|
|
25
25
|
crate::base::Boolean,
|
|
26
|
-
) -> crate::base::Status
|
|
26
|
+
) -> crate::base::Status;
|
|
27
27
|
|
|
28
|
-
pub type ProtocolReadKeyStroke =
|
|
28
|
+
pub type ProtocolReadKeyStroke = unsafe extern "efiapi" fn(
|
|
29
29
|
*mut Protocol,
|
|
30
30
|
*mut InputKey,
|
|
31
|
-
) -> crate::base::Status
|
|
31
|
+
) -> crate::base::Status;
|
|
32
32
|
|
|
33
33
|
#[repr(C)]
|
|
34
34
|
pub struct Protocol {
|