| ... | @@ -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, |
| 159 | | 159 | |
| 160 | /// Installs one or more protocol interfaces into the boot services environment | 160 | /// Installs one or more protocol interfaces into the boot services environment |
| 161 | // TODO: use callconv(cc) instead once that works | 161 | _installMultipleProtocolInterfaces: *const fn (handle: *Handle, ...) callconv(cc) Status, |
| 162 | _installMultipleProtocolInterfaces: *const fn (handle: *Handle, ...) callconv(.c) Status, | | |
| 163 | | 162 | |
| 164 | /// Removes one or more protocol interfaces into the boot services environment | 163 | /// Removes one or more protocol interfaces into the boot services environment |
| 165 | // TODO: use callconv(cc) instead once that works | 164 | _uninstallMultipleProtocolInterfaces: *const fn (handle: *Handle, ...) callconv(cc) Status, |
| 166 | _uninstallMultipleProtocolInterfaces: *const fn (handle: *Handle, ...) callconv(.c) Status, | | |
| 167 | | 165 | |
| 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, |