mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-04-26 13:01:34 +03:00
std.os.uefi: use uefi callconv for _(un)installMultipleProtocolInterfaces
This commit is contained in:
@@ -158,12 +158,10 @@ pub const BootServices = extern struct {
|
||||
_locateProtocol: *const fn (protocol: *const Guid, registration: ?EventRegistration, interface: *?*const anyopaque) callconv(cc) Status,
|
||||
|
||||
/// Installs one or more protocol interfaces into the boot services environment
|
||||
// TODO: use callconv(cc) instead once that works
|
||||
_installMultipleProtocolInterfaces: *const fn (handle: *Handle, ...) callconv(.c) Status,
|
||||
_installMultipleProtocolInterfaces: *const fn (handle: *Handle, ...) callconv(cc) Status,
|
||||
|
||||
/// Removes one or more protocol interfaces into the boot services environment
|
||||
// TODO: use callconv(cc) instead once that works
|
||||
_uninstallMultipleProtocolInterfaces: *const fn (handle: *Handle, ...) callconv(.c) Status,
|
||||
_uninstallMultipleProtocolInterfaces: *const fn (handle: *Handle, ...) callconv(cc) Status,
|
||||
|
||||
/// Computes and returns a 32-bit CRC for a data buffer.
|
||||
_calculateCrc32: *const fn (data: [*]const u8, data_size: usize, *u32) callconv(cc) Status,
|
||||
|
||||
Reference in New Issue
Block a user