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
data/rust-vendor/r-efi/NEWS.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# r-efi - UEFI Reference Specification Protocol Constants and Definitions
|
|
2
2
|
|
|
3
|
+
## CHANGES WITH 6.0.0:
|
|
4
|
+
|
|
5
|
+
* Change all function prototypes to use `unsafe fn`. This is a major
|
|
6
|
+
change, but reflects what all downstream users have already assumed.
|
|
7
|
+
|
|
8
|
+
* Drop the obsolete `efiapi` and `examples` feature flags. The former
|
|
9
|
+
was unused, and the latter is an alias for `native`.
|
|
10
|
+
|
|
11
|
+
* The `eficall!{}` macro is now fully inline in all of r-efi. It is
|
|
12
|
+
still provided for external users, but will no longer be used by
|
|
13
|
+
r-efi. All users are recommended to use `extern "efiapi"` directly.
|
|
14
|
+
|
|
15
|
+
Contributions from: Alan Egerton, David Rheinsberg
|
|
16
|
+
|
|
17
|
+
- Dußlingen, 2026-02-03
|
|
18
|
+
|
|
3
19
|
## CHANGES WITH 5.3.0:
|
|
4
20
|
|
|
5
21
|
* Remove the optional dependency on `compiler-builtins`, which was
|
|
@@ -353,7 +353,7 @@ pub type VirtualAddress = u64;
|
|
|
353
353
|
/// invocation, if invoked as an UEFI driver.
|
|
354
354
|
/// In most cases it is perfectly fine to cast the pointer to a real rust reference. However, this
|
|
355
355
|
/// should be an explicit decision by the caller.
|
|
356
|
-
pub type ImageEntryPoint =
|
|
356
|
+
pub type ImageEntryPoint = unsafe extern "efiapi" fn(Handle, *mut crate::system::SystemTable) -> Status;
|
|
357
357
|
|
|
358
358
|
/// Globally Unique Identifiers
|
|
359
359
|
///
|
|
@@ -71,22 +71,37 @@
|
|
|
71
71
|
//! pointers, we use `Option<fn ...>`.
|
|
72
72
|
//!
|
|
73
73
|
//! * `prefer *mut over *const`: Whenever we transpose pointers from the
|
|
74
|
-
//! specification into Rust, we
|
|
75
|
-
//!
|
|
76
|
-
//!
|
|
77
|
-
//!
|
|
78
|
-
//!
|
|
79
|
-
//!
|
|
80
|
-
//!
|
|
81
|
-
//!
|
|
82
|
-
//!
|
|
83
|
-
//!
|
|
84
|
-
//!
|
|
85
|
-
//!
|
|
74
|
+
//! specification into Rust, we default to `*mut`. So far, there is no
|
|
75
|
+
//! reason to use `*const`. We prefer `*mut T`, because:
|
|
76
|
+
//!
|
|
77
|
+
//! * it is invariant over `T`, unlike `*const T`, which is covariant over
|
|
78
|
+
//! `T`. This variance is useful when treating the raw pointer like a
|
|
79
|
+
//! shared reference (which is also covariant over `T`). However, if the
|
|
80
|
+
//! raw pointer can be aliases by mutable pointers somewhere in the UEFI
|
|
81
|
+
//! stack, the variance might no longer apply. Using `*mut T` avoids this
|
|
82
|
+
//! default covariance, and requires callers to introduce manually if
|
|
83
|
+
//! desired.
|
|
84
|
+
//! * it cannot be automatically coerced from shared references. This
|
|
85
|
+
//! coercion is not necessarily correct, given that `const T *` pointers
|
|
86
|
+
//! in C do not share the immutability guarantee of Rust shared
|
|
87
|
+
//! references. By using `*mut T` an explicit pointer cast is required,
|
|
88
|
+
//! which we definitely want.
|
|
89
|
+
//! * it correctly conveys mutability to Miri Stacked Borrows. While Tree
|
|
90
|
+
//! Borrows do not distinguish raw pointers, Stacked Borrows do, and they
|
|
91
|
+
//! require a pointer to originate from a mutable reference if mutability
|
|
92
|
+
//! is desired.
|
|
93
|
+
//!
|
|
94
|
+
//! Lastly, note that `*mut` and `*const` can be `as`-casted in both
|
|
86
95
|
//! directions without violating any Rust guarantees. Any UB concerns always
|
|
87
96
|
//! stem from the safety guarantees of the surrounding code, not of the
|
|
88
97
|
//! raw-pointer handling.
|
|
89
98
|
//!
|
|
99
|
+
//! * `default to unsafe fn`: Always use `unsafe fn` for function prototypes.
|
|
100
|
+
//! UEFI makes no guarantees about global state, as such any implementation
|
|
101
|
+
//! of any UEFI prototype might introduce unsafety. Use `unsafe fn`
|
|
102
|
+
//! unconditionally, so the prototypes can be used for externally provided
|
|
103
|
+
//! code.
|
|
104
|
+
//!
|
|
90
105
|
//! # Specification Details
|
|
91
106
|
//!
|
|
92
107
|
//! This section lists errata of, and general comments on, the UEFI
|
|
@@ -50,15 +50,15 @@ pub struct State {
|
|
|
50
50
|
pub active_buttons: u32,
|
|
51
51
|
}
|
|
52
52
|
|
|
53
|
-
pub type Reset =
|
|
53
|
+
pub type Reset = unsafe extern "efiapi" fn(
|
|
54
54
|
this: *mut Protocol,
|
|
55
55
|
extended_verification: bool,
|
|
56
|
-
) -> crate::base::Status
|
|
56
|
+
) -> crate::base::Status;
|
|
57
57
|
|
|
58
|
-
pub type GetState =
|
|
58
|
+
pub type GetState = unsafe extern "efiapi" fn(
|
|
59
59
|
this: *mut Protocol,
|
|
60
60
|
state: *mut State,
|
|
61
|
-
) -> crate::base::Status
|
|
61
|
+
) -> crate::base::Status;
|
|
62
62
|
|
|
63
63
|
#[repr(C)]
|
|
64
64
|
pub struct Protocol {
|
|
@@ -34,30 +34,30 @@ pub struct Media {
|
|
|
34
34
|
pub optimal_transfer_length_granularity: u32,
|
|
35
35
|
}
|
|
36
36
|
|
|
37
|
-
pub type ProtocolReset =
|
|
37
|
+
pub type ProtocolReset = unsafe extern "efiapi" fn(
|
|
38
38
|
*mut Protocol,
|
|
39
39
|
crate::base::Boolean,
|
|
40
|
-
) -> crate::base::Status
|
|
40
|
+
) -> crate::base::Status;
|
|
41
41
|
|
|
42
|
-
pub type ProtocolReadBlocks =
|
|
42
|
+
pub type ProtocolReadBlocks = unsafe extern "efiapi" fn(
|
|
43
43
|
*mut Protocol,
|
|
44
44
|
u32,
|
|
45
45
|
crate::base::Lba,
|
|
46
46
|
usize,
|
|
47
47
|
*mut core::ffi::c_void,
|
|
48
|
-
) -> crate::base::Status
|
|
48
|
+
) -> crate::base::Status;
|
|
49
49
|
|
|
50
|
-
pub type ProtocolWriteBlocks =
|
|
50
|
+
pub type ProtocolWriteBlocks = unsafe extern "efiapi" fn(
|
|
51
51
|
*mut Protocol,
|
|
52
52
|
u32,
|
|
53
53
|
crate::base::Lba,
|
|
54
54
|
usize,
|
|
55
55
|
*mut core::ffi::c_void,
|
|
56
|
-
) -> crate::base::Status
|
|
56
|
+
) -> crate::base::Status;
|
|
57
57
|
|
|
58
|
-
pub type ProtocolFlushBlocks =
|
|
58
|
+
pub type ProtocolFlushBlocks = unsafe extern "efiapi" fn(
|
|
59
59
|
*mut Protocol,
|
|
60
|
-
) -> crate::base::Status
|
|
60
|
+
) -> crate::base::Status;
|
|
61
61
|
|
|
62
62
|
#[repr(C)]
|
|
63
63
|
pub struct Protocol {
|
|
@@ -21,10 +21,10 @@ pub const PROTOCOL_GUID: crate::base::Guid = crate::base::Guid::from_fields(
|
|
|
21
21
|
&[0x4d, 0x7d, 0x13, 0xfb, 0x32, 0x65],
|
|
22
22
|
);
|
|
23
23
|
|
|
24
|
-
pub type ProtocolGetDriver =
|
|
24
|
+
pub type ProtocolGetDriver = unsafe extern "efiapi" fn(
|
|
25
25
|
*mut Protocol,
|
|
26
26
|
*mut crate::base::Handle,
|
|
27
|
-
) -> crate::base::Status
|
|
27
|
+
) -> crate::base::Status;
|
|
28
28
|
|
|
29
29
|
#[repr(C)]
|
|
30
30
|
pub struct Protocol {
|
|
@@ -796,34 +796,34 @@ pub const EXCEPT_RISCV_MACHINE_TIMER_INT: ExceptionType = 7;
|
|
|
796
796
|
pub const EXCEPT_RISCV_SUPERVISOR_EXTERNAL_INT: ExceptionType = 9;
|
|
797
797
|
pub const EXCEPT_RISCV_MACHINE_EXTERNAL_INT: ExceptionType = 11;
|
|
798
798
|
|
|
799
|
-
pub type GetMaximumProcessorIndex =
|
|
799
|
+
pub type GetMaximumProcessorIndex = unsafe extern "efiapi" fn(
|
|
800
800
|
*mut Protocol,
|
|
801
801
|
*mut usize,
|
|
802
|
-
) -> crate::base::Status
|
|
802
|
+
) -> crate::base::Status;
|
|
803
803
|
|
|
804
|
-
pub type PeriodicCallback =
|
|
804
|
+
pub type PeriodicCallback = unsafe extern "efiapi" fn(SystemContext);
|
|
805
805
|
|
|
806
|
-
pub type RegisterPeriodicCallback =
|
|
806
|
+
pub type RegisterPeriodicCallback = unsafe extern "efiapi" fn(
|
|
807
807
|
*mut Protocol,
|
|
808
808
|
usize,
|
|
809
809
|
Option<PeriodicCallback>,
|
|
810
|
-
) -> crate::base::Status
|
|
810
|
+
) -> crate::base::Status;
|
|
811
811
|
|
|
812
|
-
pub type ExceptionCallback =
|
|
812
|
+
pub type ExceptionCallback = unsafe extern "efiapi" fn(ExceptionType, SystemContext);
|
|
813
813
|
|
|
814
|
-
pub type RegisterExceptionCallback =
|
|
814
|
+
pub type RegisterExceptionCallback = unsafe extern "efiapi" fn(
|
|
815
815
|
*mut Protocol,
|
|
816
816
|
usize,
|
|
817
817
|
Option<ExceptionCallback>,
|
|
818
818
|
ExceptionType,
|
|
819
|
-
) -> crate::base::Status
|
|
819
|
+
) -> crate::base::Status;
|
|
820
820
|
|
|
821
|
-
pub type InvalidateInstructionCache =
|
|
821
|
+
pub type InvalidateInstructionCache = unsafe extern "efiapi" fn(
|
|
822
822
|
*mut Protocol,
|
|
823
823
|
usize,
|
|
824
824
|
*mut core::ffi::c_void,
|
|
825
825
|
u64,
|
|
826
|
-
) -> crate::base::Status
|
|
826
|
+
) -> crate::base::Status;
|
|
827
827
|
|
|
828
828
|
#[repr(C)]
|
|
829
829
|
pub struct Protocol {
|
|
@@ -11,27 +11,27 @@ pub const PROTOCOL_GUID: crate::base::Guid = crate::base::Guid::from_fields(
|
|
|
11
11
|
&[0x26, 0x47, 0xba, 0x96, 0x60, 0xd0],
|
|
12
12
|
);
|
|
13
13
|
|
|
14
|
-
pub type Reset =
|
|
14
|
+
pub type Reset = unsafe extern "efiapi" fn(
|
|
15
15
|
*mut Protocol,
|
|
16
|
-
) -> *mut crate::base::Status
|
|
16
|
+
) -> *mut crate::base::Status;
|
|
17
17
|
|
|
18
|
-
pub type Write =
|
|
18
|
+
pub type Write = unsafe extern "efiapi" fn(
|
|
19
19
|
*mut Protocol,
|
|
20
20
|
u32,
|
|
21
21
|
*mut usize,
|
|
22
22
|
*mut core::ffi::c_void
|
|
23
|
-
) -> *mut crate::base::Status
|
|
23
|
+
) -> *mut crate::base::Status;
|
|
24
24
|
|
|
25
|
-
pub type Read =
|
|
25
|
+
pub type Read = unsafe extern "efiapi" fn(
|
|
26
26
|
*mut Protocol,
|
|
27
27
|
u32,
|
|
28
28
|
*mut usize,
|
|
29
29
|
*mut core::ffi::c_void
|
|
30
|
-
) -> *mut crate::base::Status
|
|
30
|
+
) -> *mut crate::base::Status;
|
|
31
31
|
|
|
32
|
-
pub type Poll =
|
|
32
|
+
pub type Poll = unsafe extern "efiapi" fn(
|
|
33
33
|
*mut Protocol,
|
|
34
|
-
) -> *mut crate::base::Status
|
|
34
|
+
) -> *mut crate::base::Status;
|
|
35
35
|
|
|
36
36
|
#[repr(C)]
|
|
37
37
|
pub struct Protocol {
|
|
@@ -12,15 +12,15 @@ pub const PROTOCOL_GUID: crate::base::Guid = crate::base::Guid::from_fields(
|
|
|
12
12
|
&[0x00, 0x90, 0x27, 0x3f, 0xc1, 0x4d],
|
|
13
13
|
);
|
|
14
14
|
|
|
15
|
-
pub type ProtocolGetInfo =
|
|
15
|
+
pub type ProtocolGetInfo = unsafe extern "efiapi" fn(
|
|
16
16
|
*mut Protocol,
|
|
17
17
|
*mut core::ffi::c_void,
|
|
18
18
|
u32,
|
|
19
19
|
*mut u32,
|
|
20
20
|
*mut u32,
|
|
21
|
-
) -> crate::base::Status
|
|
21
|
+
) -> crate::base::Status;
|
|
22
22
|
|
|
23
|
-
pub type ProtocolDecompress =
|
|
23
|
+
pub type ProtocolDecompress = unsafe extern "efiapi" fn(
|
|
24
24
|
*mut Protocol,
|
|
25
25
|
*mut core::ffi::c_void,
|
|
26
26
|
u32,
|
|
@@ -28,7 +28,7 @@ pub type ProtocolDecompress = eficall! {fn(
|
|
|
28
28
|
u32,
|
|
29
29
|
*mut core::ffi::c_void,
|
|
30
30
|
u32,
|
|
31
|
-
) -> crate::base::Status
|
|
31
|
+
) -> crate::base::Status;
|
|
32
32
|
|
|
33
33
|
#[repr(C)]
|
|
34
34
|
pub struct Protocol {
|
|
@@ -11,13 +11,13 @@ pub const PROTOCOL_GUID: crate::base::Guid = crate::base::Guid::from_fields(
|
|
|
11
11
|
&[0x35, 0xdf, 0x33, 0x43, 0xf5, 0x1e],
|
|
12
12
|
);
|
|
13
13
|
|
|
14
|
-
pub type DevicePathFromTextNode =
|
|
14
|
+
pub type DevicePathFromTextNode = unsafe extern "efiapi" fn(
|
|
15
15
|
*const crate::base::Char16,
|
|
16
|
-
) -> *mut crate::protocols::device_path::Protocol
|
|
16
|
+
) -> *mut crate::protocols::device_path::Protocol;
|
|
17
17
|
|
|
18
|
-
pub type DevicePathFromTextPath =
|
|
18
|
+
pub type DevicePathFromTextPath = unsafe extern "efiapi" fn(
|
|
19
19
|
*const crate::base::Char16,
|
|
20
|
-
) -> *mut crate::protocols::device_path::Protocol
|
|
20
|
+
) -> *mut crate::protocols::device_path::Protocol;
|
|
21
21
|
|
|
22
22
|
#[repr(C)]
|
|
23
23
|
pub struct Protocol {
|
|
@@ -11,17 +11,17 @@ pub const PROTOCOL_GUID: crate::base::Guid = crate::base::Guid::from_fields(
|
|
|
11
11
|
&[0x55, 0x1a, 0x4e, 0x4a, 0x7f, 0x1c],
|
|
12
12
|
);
|
|
13
13
|
|
|
14
|
-
pub type DevicePathToTextNode =
|
|
14
|
+
pub type DevicePathToTextNode = unsafe extern "efiapi" fn(
|
|
15
15
|
*mut crate::protocols::device_path::Protocol,
|
|
16
16
|
crate::base::Boolean,
|
|
17
17
|
crate::base::Boolean,
|
|
18
|
-
) -> *mut crate::base::Char16
|
|
18
|
+
) -> *mut crate::base::Char16;
|
|
19
19
|
|
|
20
|
-
pub type DevicePathToTextPath =
|
|
20
|
+
pub type DevicePathToTextPath = unsafe extern "efiapi" fn(
|
|
21
21
|
*mut crate::protocols::device_path::Protocol,
|
|
22
22
|
crate::base::Boolean,
|
|
23
23
|
crate::base::Boolean,
|
|
24
|
-
) -> *mut crate::base::Char16
|
|
24
|
+
) -> *mut crate::base::Char16;
|
|
25
25
|
|
|
26
26
|
#[repr(C)]
|
|
27
27
|
pub struct Protocol {
|
|
@@ -12,43 +12,43 @@ pub const PROTOCOL_GUID: crate::base::Guid = crate::base::Guid::from_fields(
|
|
|
12
12
|
&[0xed, 0xb8, 0x2f, 0xb7, 0x72, 0xa4],
|
|
13
13
|
);
|
|
14
14
|
|
|
15
|
-
pub type ProtocolGetDevicePathSize =
|
|
15
|
+
pub type ProtocolGetDevicePathSize = unsafe extern "efiapi" fn(
|
|
16
16
|
*const crate::protocols::device_path::Protocol,
|
|
17
|
-
) -> usize
|
|
17
|
+
) -> usize;
|
|
18
18
|
|
|
19
|
-
pub type ProtocolDuplicateDevicePath =
|
|
19
|
+
pub type ProtocolDuplicateDevicePath = unsafe extern "efiapi" fn(
|
|
20
20
|
*const crate::protocols::device_path::Protocol,
|
|
21
|
-
) -> *mut crate::protocols::device_path::Protocol
|
|
21
|
+
) -> *mut crate::protocols::device_path::Protocol;
|
|
22
22
|
|
|
23
|
-
pub type ProtocolAppendDevicePath =
|
|
23
|
+
pub type ProtocolAppendDevicePath = unsafe extern "efiapi" fn(
|
|
24
24
|
*const crate::protocols::device_path::Protocol,
|
|
25
25
|
*const crate::protocols::device_path::Protocol,
|
|
26
|
-
) -> *mut crate::protocols::device_path::Protocol
|
|
26
|
+
) -> *mut crate::protocols::device_path::Protocol;
|
|
27
27
|
|
|
28
|
-
pub type ProtocolAppendDeviceNode =
|
|
28
|
+
pub type ProtocolAppendDeviceNode = unsafe extern "efiapi" fn(
|
|
29
29
|
*const crate::protocols::device_path::Protocol,
|
|
30
30
|
*const crate::protocols::device_path::Protocol,
|
|
31
|
-
) -> *mut crate::protocols::device_path::Protocol
|
|
31
|
+
) -> *mut crate::protocols::device_path::Protocol;
|
|
32
32
|
|
|
33
|
-
pub type ProtocolAppendDevicePathInstance =
|
|
33
|
+
pub type ProtocolAppendDevicePathInstance = unsafe extern "efiapi" fn(
|
|
34
34
|
*const crate::protocols::device_path::Protocol,
|
|
35
35
|
*const crate::protocols::device_path::Protocol,
|
|
36
|
-
) -> *mut crate::protocols::device_path::Protocol
|
|
36
|
+
) -> *mut crate::protocols::device_path::Protocol;
|
|
37
37
|
|
|
38
|
-
pub type ProtocolGetNextDevicePathInstance =
|
|
38
|
+
pub type ProtocolGetNextDevicePathInstance = unsafe extern "efiapi" fn(
|
|
39
39
|
*mut *mut crate::protocols::device_path::Protocol,
|
|
40
40
|
*mut usize,
|
|
41
|
-
) -> *mut crate::protocols::device_path::Protocol
|
|
41
|
+
) -> *mut crate::protocols::device_path::Protocol;
|
|
42
42
|
|
|
43
|
-
pub type ProtocolIsDevicePathMultiInstance =
|
|
43
|
+
pub type ProtocolIsDevicePathMultiInstance = unsafe extern "efiapi" fn(
|
|
44
44
|
*const crate::protocols::device_path::Protocol,
|
|
45
|
-
) -> crate::base::Boolean
|
|
45
|
+
) -> crate::base::Boolean;
|
|
46
46
|
|
|
47
|
-
pub type ProtocolCreateDeviceNode =
|
|
47
|
+
pub type ProtocolCreateDeviceNode = unsafe extern "efiapi" fn(
|
|
48
48
|
u8,
|
|
49
49
|
u8,
|
|
50
50
|
u16,
|
|
51
|
-
) -> *mut crate::protocols::device_path::Protocol
|
|
51
|
+
) -> *mut crate::protocols::device_path::Protocol;
|
|
52
52
|
|
|
53
53
|
#[repr(C)]
|
|
54
54
|
pub struct Protocol {
|
|
@@ -16,21 +16,21 @@ pub const PROTOCOL_GUID: crate::base::Guid = crate::base::Guid::from_fields(
|
|
|
16
16
|
|
|
17
17
|
pub const REVISION: u64 = 0x0000000000010000u64;
|
|
18
18
|
|
|
19
|
-
pub type ProtocolReadDisk =
|
|
19
|
+
pub type ProtocolReadDisk = unsafe extern "efiapi" fn(
|
|
20
20
|
*mut Protocol,
|
|
21
21
|
u32,
|
|
22
22
|
u64,
|
|
23
23
|
usize,
|
|
24
24
|
*mut core::ffi::c_void,
|
|
25
|
-
) -> crate::base::Status
|
|
25
|
+
) -> crate::base::Status;
|
|
26
26
|
|
|
27
|
-
pub type ProtocolWriteDisk =
|
|
27
|
+
pub type ProtocolWriteDisk = unsafe extern "efiapi" fn(
|
|
28
28
|
*mut Protocol,
|
|
29
29
|
u32,
|
|
30
30
|
u64,
|
|
31
31
|
usize,
|
|
32
32
|
*mut core::ffi::c_void,
|
|
33
|
-
) -> crate::base::Status
|
|
33
|
+
) -> crate::base::Status;
|
|
34
34
|
|
|
35
35
|
#[repr(C)]
|
|
36
36
|
pub struct Protocol {
|
|
@@ -21,32 +21,32 @@ pub struct Token {
|
|
|
21
21
|
transaction_status: crate::base::Status,
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
-
pub type ProtocolCancel =
|
|
24
|
+
pub type ProtocolCancel = unsafe extern "efiapi" fn(
|
|
25
25
|
*mut Protocol,
|
|
26
|
-
) -> crate::base::Status
|
|
26
|
+
) -> crate::base::Status;
|
|
27
27
|
|
|
28
|
-
pub type ProtocolReadDiskEx =
|
|
28
|
+
pub type ProtocolReadDiskEx = unsafe extern "efiapi" fn(
|
|
29
29
|
*mut Protocol,
|
|
30
30
|
u32,
|
|
31
31
|
u64,
|
|
32
32
|
*mut Token,
|
|
33
33
|
usize,
|
|
34
34
|
*mut core::ffi::c_void,
|
|
35
|
-
) -> crate::base::Status
|
|
35
|
+
) -> crate::base::Status;
|
|
36
36
|
|
|
37
|
-
pub type ProtocolWriteDiskEx =
|
|
37
|
+
pub type ProtocolWriteDiskEx = unsafe extern "efiapi" fn(
|
|
38
38
|
*mut Protocol,
|
|
39
39
|
u32,
|
|
40
40
|
u64,
|
|
41
41
|
*mut Token,
|
|
42
42
|
usize,
|
|
43
43
|
*mut core::ffi::c_void,
|
|
44
|
-
) -> crate::base::Status
|
|
44
|
+
) -> crate::base::Status;
|
|
45
45
|
|
|
46
|
-
pub type ProtocolFlushDiskEx =
|
|
46
|
+
pub type ProtocolFlushDiskEx = unsafe extern "efiapi" fn(
|
|
47
47
|
*mut Protocol,
|
|
48
48
|
*mut Token,
|
|
49
|
-
) -> crate::base::Status
|
|
49
|
+
) -> crate::base::Status;
|
|
50
50
|
|
|
51
51
|
#[repr(C)]
|
|
52
52
|
pub struct Protocol {
|
|
@@ -12,24 +12,24 @@ pub const PROTOCOL_GUID: crate::base::Guid = crate::base::Guid::from_fields(
|
|
|
12
12
|
&[0x0c, 0x09, 0x26, 0x1e, 0x9f, 0x71],
|
|
13
13
|
);
|
|
14
14
|
|
|
15
|
-
pub type ProtocolSupported =
|
|
15
|
+
pub type ProtocolSupported = unsafe extern "efiapi" fn(
|
|
16
16
|
*mut Protocol,
|
|
17
17
|
crate::base::Handle,
|
|
18
18
|
*mut crate::protocols::device_path::Protocol,
|
|
19
|
-
) -> crate::base::Status
|
|
19
|
+
) -> crate::base::Status;
|
|
20
20
|
|
|
21
|
-
pub type ProtocolStart =
|
|
21
|
+
pub type ProtocolStart = unsafe extern "efiapi" fn(
|
|
22
22
|
*mut Protocol,
|
|
23
23
|
crate::base::Handle,
|
|
24
24
|
*mut crate::protocols::device_path::Protocol,
|
|
25
|
-
) -> crate::base::Status
|
|
25
|
+
) -> crate::base::Status;
|
|
26
26
|
|
|
27
|
-
pub type ProtocolStop =
|
|
27
|
+
pub type ProtocolStop = unsafe extern "efiapi" fn(
|
|
28
28
|
*mut Protocol,
|
|
29
29
|
crate::base::Handle,
|
|
30
30
|
usize,
|
|
31
31
|
*mut crate::base::Handle,
|
|
32
|
-
) -> crate::base::Status
|
|
32
|
+
) -> crate::base::Status;
|
|
33
33
|
|
|
34
34
|
#[repr(C)]
|
|
35
35
|
pub struct Protocol {
|
|
@@ -20,7 +20,7 @@ pub const TYPE_MANUFACTURING: Type = 2;
|
|
|
20
20
|
pub const TYPE_CANCEL: Type = 3;
|
|
21
21
|
pub const TYPE_MAXIMUM: Type = 4;
|
|
22
22
|
|
|
23
|
-
pub type RunDiagnostics =
|
|
23
|
+
pub type RunDiagnostics = unsafe extern "efiapi" fn(
|
|
24
24
|
*mut Protocol,
|
|
25
25
|
crate::base::Handle,
|
|
26
26
|
crate::base::Handle,
|
|
@@ -29,7 +29,7 @@ pub type RunDiagnostics = eficall! {fn(
|
|
|
29
29
|
*mut *mut crate::base::Guid,
|
|
30
30
|
*mut usize,
|
|
31
31
|
*mut *mut crate::base::Char16,
|
|
32
|
-
) -> crate::base::Status
|
|
32
|
+
) -> crate::base::Status;
|
|
33
33
|
|
|
34
34
|
#[repr(C)]
|
|
35
35
|
pub struct Protocol {
|
|
@@ -13,9 +13,9 @@ pub const PROTOCOL_GUID: crate::base::Guid = crate::base::Guid::from_fields(
|
|
|
13
13
|
&[0x04, 0xa4, 0x92, 0x37, 0x66, 0xa7],
|
|
14
14
|
);
|
|
15
15
|
|
|
16
|
-
pub type ProtocolGetVersion =
|
|
16
|
+
pub type ProtocolGetVersion = unsafe extern "efiapi" fn(
|
|
17
17
|
*mut Protocol,
|
|
18
|
-
) -> u32
|
|
18
|
+
) -> u32;
|
|
19
19
|
|
|
20
20
|
#[repr(C)]
|
|
21
21
|
pub struct Protocol {
|
|
@@ -83,85 +83,85 @@ pub struct SystemVolumeLabel<const N: usize = 0> {
|
|
|
83
83
|
pub volume_label: [crate::base::Char16; N],
|
|
84
84
|
}
|
|
85
85
|
|
|
86
|
-
pub type ProtocolOpen =
|
|
86
|
+
pub type ProtocolOpen = unsafe extern "efiapi" fn(
|
|
87
87
|
*mut Protocol,
|
|
88
88
|
*mut *mut Protocol,
|
|
89
89
|
*mut crate::base::Char16,
|
|
90
90
|
u64,
|
|
91
91
|
u64,
|
|
92
|
-
) -> crate::base::Status
|
|
92
|
+
) -> crate::base::Status;
|
|
93
93
|
|
|
94
|
-
pub type ProtocolClose =
|
|
94
|
+
pub type ProtocolClose = unsafe extern "efiapi" fn(
|
|
95
95
|
*mut Protocol,
|
|
96
|
-
) -> crate::base::Status
|
|
96
|
+
) -> crate::base::Status;
|
|
97
97
|
|
|
98
|
-
pub type ProtocolDelete =
|
|
98
|
+
pub type ProtocolDelete = unsafe extern "efiapi" fn(
|
|
99
99
|
*mut Protocol,
|
|
100
|
-
) -> crate::base::Status
|
|
100
|
+
) -> crate::base::Status;
|
|
101
101
|
|
|
102
|
-
pub type ProtocolRead =
|
|
102
|
+
pub type ProtocolRead = unsafe extern "efiapi" fn(
|
|
103
103
|
*mut Protocol,
|
|
104
104
|
*mut usize,
|
|
105
105
|
*mut core::ffi::c_void,
|
|
106
|
-
) -> crate::base::Status
|
|
106
|
+
) -> crate::base::Status;
|
|
107
107
|
|
|
108
|
-
pub type ProtocolWrite =
|
|
108
|
+
pub type ProtocolWrite = unsafe extern "efiapi" fn(
|
|
109
109
|
*mut Protocol,
|
|
110
110
|
*mut usize,
|
|
111
111
|
*mut core::ffi::c_void,
|
|
112
|
-
) -> crate::base::Status
|
|
112
|
+
) -> crate::base::Status;
|
|
113
113
|
|
|
114
|
-
pub type ProtocolGetPosition =
|
|
114
|
+
pub type ProtocolGetPosition = unsafe extern "efiapi" fn(
|
|
115
115
|
*mut Protocol,
|
|
116
116
|
*mut u64,
|
|
117
|
-
) -> crate::base::Status
|
|
117
|
+
) -> crate::base::Status;
|
|
118
118
|
|
|
119
|
-
pub type ProtocolSetPosition =
|
|
119
|
+
pub type ProtocolSetPosition = unsafe extern "efiapi" fn(
|
|
120
120
|
*mut Protocol,
|
|
121
121
|
u64,
|
|
122
|
-
) -> crate::base::Status
|
|
122
|
+
) -> crate::base::Status;
|
|
123
123
|
|
|
124
|
-
pub type ProtocolGetInfo =
|
|
124
|
+
pub type ProtocolGetInfo = unsafe extern "efiapi" fn(
|
|
125
125
|
*mut Protocol,
|
|
126
126
|
*mut crate::base::Guid,
|
|
127
127
|
*mut usize,
|
|
128
128
|
*mut core::ffi::c_void,
|
|
129
|
-
) -> crate::base::Status
|
|
129
|
+
) -> crate::base::Status;
|
|
130
130
|
|
|
131
|
-
pub type ProtocolSetInfo =
|
|
131
|
+
pub type ProtocolSetInfo = unsafe extern "efiapi" fn(
|
|
132
132
|
*mut Protocol,
|
|
133
133
|
*mut crate::base::Guid,
|
|
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 ProtocolOpenEx =
|
|
142
|
+
pub type ProtocolOpenEx = unsafe extern "efiapi" fn(
|
|
143
143
|
*mut Protocol,
|
|
144
144
|
*mut *mut Protocol,
|
|
145
145
|
*mut crate::base::Char16,
|
|
146
146
|
u64,
|
|
147
147
|
u64,
|
|
148
148
|
*mut IoToken,
|
|
149
|
-
) -> crate::base::Status
|
|
149
|
+
) -> crate::base::Status;
|
|
150
150
|
|
|
151
|
-
pub type ProtocolReadEx =
|
|
151
|
+
pub type ProtocolReadEx = unsafe extern "efiapi" fn(
|
|
152
152
|
*mut Protocol,
|
|
153
153
|
*mut IoToken,
|
|
154
|
-
) -> crate::base::Status
|
|
154
|
+
) -> crate::base::Status;
|
|
155
155
|
|
|
156
|
-
pub type ProtocolWriteEx =
|
|
156
|
+
pub type ProtocolWriteEx = unsafe extern "efiapi" fn(
|
|
157
157
|
*mut Protocol,
|
|
158
158
|
*mut IoToken,
|
|
159
|
-
) -> crate::base::Status
|
|
159
|
+
) -> crate::base::Status;
|
|
160
160
|
|
|
161
|
-
pub type ProtocolFlushEx =
|
|
161
|
+
pub type ProtocolFlushEx = unsafe extern "efiapi" fn(
|
|
162
162
|
*mut Protocol,
|
|
163
163
|
*mut IoToken,
|
|
164
|
-
) -> crate::base::Status
|
|
164
|
+
) -> crate::base::Status;
|
|
165
165
|
|
|
166
166
|
#[repr(C)]
|
|
167
167
|
pub struct Protocol {
|
|
@@ -69,19 +69,19 @@ pub const BLT_BUFFER_TO_VIDEO: BltOperation = 0x00000002;
|
|
|
69
69
|
pub const BLT_VIDEO_TO_VIDEO: BltOperation = 0x00000003;
|
|
70
70
|
pub const BLT_OPERATION_MAX: BltOperation = 0x00000004;
|
|
71
71
|
|
|
72
|
-
pub type ProtocolQueryMode =
|
|
72
|
+
pub type ProtocolQueryMode = unsafe extern "efiapi" fn(
|
|
73
73
|
*mut Protocol,
|
|
74
74
|
u32,
|
|
75
75
|
*mut usize,
|
|
76
76
|
*mut *mut ModeInformation,
|
|
77
|
-
) -> crate::base::Status
|
|
77
|
+
) -> crate::base::Status;
|
|
78
78
|
|
|
79
|
-
pub type ProtocolSetMode =
|
|
79
|
+
pub type ProtocolSetMode = unsafe extern "efiapi" fn(
|
|
80
80
|
*mut Protocol,
|
|
81
81
|
u32,
|
|
82
|
-
) -> crate::base::Status
|
|
82
|
+
) -> crate::base::Status;
|
|
83
83
|
|
|
84
|
-
pub type ProtocolBlt =
|
|
84
|
+
pub type ProtocolBlt = unsafe extern "efiapi" fn(
|
|
85
85
|
*mut Protocol,
|
|
86
86
|
*mut BltPixel,
|
|
87
87
|
BltOperation,
|
|
@@ -92,7 +92,7 @@ pub type ProtocolBlt = eficall! {fn(
|
|
|
92
92
|
usize,
|
|
93
93
|
usize,
|
|
94
94
|
usize,
|
|
95
|
-
) -> crate::base::Status
|
|
95
|
+
) -> crate::base::Status;
|
|
96
96
|
|
|
97
97
|
#[repr(C)]
|
|
98
98
|
pub struct Protocol {
|