authorgravatar for m.rosowski1@wp.plMikołaj Rosowski <m.rosowski1@wp.pl> 2026-04-17 16:55:24+02:00
committergravatar for m.rosowski1@wp.plMikołaj Rosowski <m.rosowski1@wp.pl> 2026-04-17 22:33:17+02:00
loga3a1dd1d910864db80806aac43a173f3ca2ea6cf
tree95937be86b363273839e04f9b237e3e37b9515a1
parent1d7c8108b1ff7c7ff2b1841c7145b48a54e83423

std.os.uefi: use uefi callconv for `_(un)installMultipleProtocolInterfaces`


1 files changed, 2 insertions(+), 4 deletions(-)

lib/std/os/uefi/tables/boot_services.zig+2-4
...@@ -158,12 +158,10 @@ pub const BootServices = extern struct {...@@ -158,12 +158,10 @@ pub const BootServices = extern struct {
158 _locateProtocol: *const fn (protocol: *const Guid, registration: ?EventRegistration, interface: *?*const anyopaque) callconv(cc) Status,158 _locateProtocol: *const fn (protocol: *const Guid, registration: ?EventRegistration, interface: *?*const anyopaque) callconv(cc) Status,
159159
160 /// Installs one or more protocol interfaces into the boot services environment160 /// Installs one or more protocol interfaces into the boot services environment
161 // TODO: use callconv(cc) instead once that works161 _installMultipleProtocolInterfaces: *const fn (handle: *Handle, ...) callconv(cc) Status,
162 _installMultipleProtocolInterfaces: *const fn (handle: *Handle, ...) callconv(.c) Status,
163162
164 /// Removes one or more protocol interfaces into the boot services environment163 /// Removes one or more protocol interfaces into the boot services environment
165 // TODO: use callconv(cc) instead once that works164 _uninstallMultipleProtocolInterfaces: *const fn (handle: *Handle, ...) callconv(cc) Status,
166 _uninstallMultipleProtocolInterfaces: *const fn (handle: *Handle, ...) callconv(.c) Status,
167165
168 /// Computes and returns a 32-bit CRC for a data buffer.166 /// Computes and returns a 32-bit CRC for a data buffer.
169 _calculateCrc32: *const fn (data: [*]const u8, data_size: usize, *u32) callconv(cc) Status,167 _calculateCrc32: *const fn (data: [*]const u8, data_size: usize, *u32) callconv(cc) Status,