zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit 5c28b8cd119979bb4b7d32edd1f4542165fc1f98 (tree)
parent 3bf72f2b3add70ad0671c668baf251f2db93abbf
Author: Sreehari S <sreeharisreedev1@gmail.com>
Date:   Wed, 24 Mar 2021 10:21:40 -0700

boot_services: implement locateDevicePath

Diffstat:
Mlib/std/os/uefi/tables/boot_services.zig | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lib/std/os/uefi/tables/boot_services.zig b/lib/std/os/uefi/tables/boot_services.zig @@ -78,7 +78,8 @@ pub const BootServices = extern struct { /// Returns an array of handles that support a specified protocol. locateHandle: fn (LocateSearchType, ?*align(8) const Guid, ?*const c_void, *usize, [*]Handle) callconv(.C) Status, - locateDevicePath: Status, // TODO + /// Locates the handle to a device on the device path that supports the specified protocol + locateDevicePath: fn (*align(8) const Guid, **const DevicePathProtocol, *?Handle) callconv(.C) Status, installConfigurationTable: Status, // TODO /// Loads an EFI image into memory.