commit c9f145a50b11e54b72b2fccd04384bbb856446cf (tree)
parent 56b96cd61b0bdb7f5b11a5283fe6dd5b585ef10e
Author: Yusuf Bham <ybham6@gmail.com>
Date: Fri, 9 Sep 2022 05:35:32 -0400
std.os.uefi: mark BlockIoProtocol and EfiBlockMedia as public
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/std/os/uefi/protocols/block_io_protocol.zig b/lib/std/os/uefi/protocols/block_io_protocol.zig
@@ -2,7 +2,7 @@ const std = @import("std");
const uefi = std.os.uefi;
const Status = uefi.Status;
-const EfiBlockMedia = extern struct {
+pub const EfiBlockMedia = extern struct {
/// The current media ID. If the media changes, this value is changed.
media_id: u32,
@@ -38,7 +38,7 @@ const EfiBlockMedia = extern struct {
optimal_transfer_length_granularity: u32,
};
-const BlockIoProtocol = extern struct {
+pub const BlockIoProtocol = extern struct {
const Self = @This();
revision: u64,