From cdf855f44f23ee2e7f7a9da1d5c619547d392a43 Mon Sep 17 00:00:00 2001 From: Tim Crawford Date: Wed, 5 Jun 2024 18:49:43 -0600 Subject: [PATCH] Unexport [Un]InstallMultipleProtocolInterfaces 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: https://github.com/rust-lang/rust/issues/100189 Signed-off-by: Tim Crawford --- crates/yuffie/src/table/boot.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/crates/yuffie/src/table/boot.rs b/crates/yuffie/src/table/boot.rs index 8dcf099..3296092 100644 --- a/crates/yuffie/src/table/boot.rs +++ b/crates/yuffie/src/table/boot.rs @@ -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,