Skip to content

Commit

Permalink
Unexport [Un]InstallMultipleProtocolInterfaces
Browse files Browse the repository at this point in the history
These two functions are defined as variadic (use `...`) which is
currently only available for the `C` and `cdecl` ABIs.

Make them unavailable until the feature is stabilized for `efiapi`.

Ref: rust-lang/rust#100189
Signed-off-by: Tim Crawford <[email protected]>
  • Loading branch information
crawfxrd committed Jun 6, 2024
1 parent 67ca71f commit cdf855f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions crates/yuffie/src/table/boot.rs
Original file line number Diff line number Diff line change
Expand Up @@ -113,10 +113,10 @@ pub struct BootServices {
pub ProtocolsPerHandle: extern "efiapi" fn(Handle, *mut *mut *mut Guid, *mut usize) -> Status,
pub LocateHandleBuffer: extern "efiapi" fn(LocateSearchType, *const Guid, *const u8, *mut usize, *mut *mut Handle) -> Status,
pub LocateProtocol: extern "efiapi" fn(*const Guid, *const u8, *mut *mut u8) -> Status,
// XXX: Variadic arguments
pub InstallMultipleProtocolInterfaces: extern "efiapi" fn(*mut Handle) -> Status,
// XXX: Variadic arguments
pub UninstallMultipleProtocolInterfaces: extern "efiapi" fn(Handle) -> Status,
// XXX: Variadic arguments: https://github.com/rust-lang/rust/issues/100189
InstallMultipleProtocolInterfaces: extern "efiapi" fn(*mut Handle) -> Status,
// XXX: Variadic arguments: https://github.com/rust-lang/rust/issues/100189
UninstallMultipleProtocolInterfaces: extern "efiapi" fn(Handle) -> Status,

// 32-bit CRC Services
pub CalculateCrc32: extern "efiapi" fn(*const u8, usize, *mut u32) -> Status,
Expand Down

0 comments on commit cdf855f

Please sign in to comment.