| ... | @@ -2,7 +2,7 @@ const uefi = @import("std").os.uefi; | ... | @@ -2,7 +2,7 @@ const uefi = @import("std").os.uefi; |
| 2 | const Guid = uefi.Guid; | 2 | const Guid = uefi.Guid; |
| 3 | const Time = uefi.Time; | 3 | const Time = uefi.Time; |
| 4 | | 4 | |
| 5 | const FileProtocol = extern struct { | 5 | pub const FileProtocol = extern struct { |
| 6 | revision: u64, | 6 | revision: u64, |
| 7 | _open: extern fn (*const FileProtocol, **const FileProtocol, *u16, u64, u64) usize, | 7 | _open: extern fn (*const FileProtocol, **const FileProtocol, *u16, u64, u64) usize, |
| 8 | _close: extern fn (*const FileProtocol) usize, | 8 | _close: extern fn (*const FileProtocol) usize, |
| ... | @@ -67,7 +67,7 @@ const FileProtocol = extern struct { | ... | @@ -67,7 +67,7 @@ const FileProtocol = extern struct { |
| 67 | pub const efi_file_valid_attr: u64 = 0x0000000000000037; | 67 | pub const efi_file_valid_attr: u64 = 0x0000000000000037; |
| 68 | }; | 68 | }; |
| 69 | | 69 | |
| 70 | const FileInfo = extern struct { | 70 | pub const FileInfo = extern struct { |
| 71 | size: u64, | 71 | size: u64, |
| 72 | file_size: u64, | 72 | file_size: u64, |
| 73 | physical_size: u64, | 73 | physical_size: u64, |