Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 3 additions & 21 deletions uefi-raw/src/table/boot.rs
Original file line number Diff line number Diff line change
Expand Up @@ -189,28 +189,10 @@ pub struct BootServices {
out_proto: *mut *mut c_void,
) -> Status,

/// Warning: this function pointer is declared as `extern "C"` rather than
/// `extern "efiapi". That means it will work correctly when called from a
/// UEFI target (`*-unknown-uefi`), but will not work when called from a
/// target with a different calling convention such as
/// `x86_64-unknown-linux-gnu`.
///
/// Support for C-variadics with `efiapi` requires the unstable
/// [`extended_varargs_abi_support`](https://github.com/rust-lang/rust/issues/100189)
/// feature.
// Multi-protocol handlers
pub install_multiple_protocol_interfaces:
unsafe extern "C" fn(handle: *mut Handle, ...) -> Status,

/// Warning: this function pointer is declared as `extern "C"` rather than
/// `extern "efiapi". That means it will work correctly when called from a
/// UEFI target (`*-unknown-uefi`), but will not work when called from a
/// target with a different calling convention such as
/// `x86_64-unknown-linux-gnu`.
///
/// Support for C-variadics with `efiapi` requires the unstable
/// [`extended_varargs_abi_support`](https://github.com/rust-lang/rust/issues/100189)
/// feature.
pub uninstall_multiple_protocol_interfaces: unsafe extern "C" fn(handle: Handle, ...) -> Status,
unsafe extern "efiapi" fn(handle: *mut Handle, ...) -> Status,
pub uninstall_multiple_protocol_interfaces: unsafe extern "efiapi" fn(handle: Handle, ...) -> Status,

// CRC services
pub calculate_crc32:
Expand Down
Loading