authorgravatar for ybham6@gmail.comfifty-six <ybham6@gmail.com> 2022-01-11 01:14:28-05:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2022-01-11 10:49:40-07:00
logb6e1613e58bd490310bf03c1ae5d625ccf819371
tree1966b5b6adf06c60e9fb451be5fef1c953a716de
parent41fd343508880ffdfbc83c7b053237da09199f02

std/os/uefi: Move FileInfo guid from FileProtocol to FileInfo

The GUID on FileProtocol was for EFI_FILE_INFO, FileProtocol itself doesn't have a GUID, there are only those for the requested information types.

1 files changed, 9 insertions(+), 9 deletions(-)

lib/std/os/uefi/protocols/file_protocol.zig+9-9
......@@ -127,15 +127,6 @@ pub const FileProtocol = extern struct {
127127 return self._flush(self);
128128 }
129129
130 pub const guid align(8) = Guid{
131 .time_low = 0x09576e92,
132 .time_mid = 0x6d3f,
133 .time_high_and_version = 0x11d2,
134 .clock_seq_high_and_reserved = 0x8e,
135 .clock_seq_low = 0x39,
136 .node = [_]u8{ 0x00, 0xa0, 0xc9, 0x69, 0x72, 0x3b },
137 };
138
139130 pub const efi_file_mode_read: u64 = 0x0000000000000001;
140131 pub const efi_file_mode_write: u64 = 0x0000000000000002;
141132 pub const efi_file_mode_create: u64 = 0x8000000000000000;
......@@ -171,4 +162,13 @@ pub const FileInfo = extern struct {
171162 pub const efi_file_directory: u64 = 0x0000000000000010;
172163 pub const efi_file_archive: u64 = 0x0000000000000020;
173164 pub const efi_file_valid_attr: u64 = 0x0000000000000037;
165
166 pub const guid align(8) = Guid{
167 .time_low = 0x09576e92,
168 .time_mid = 0x6d3f,
169 .time_high_and_version = 0x11d2,
170 .clock_seq_high_and_reserved = 0x8e,
171 .clock_seq_low = 0x39,
172 .node = [_]u8{ 0x00, 0xa0, 0xc9, 0x69, 0x72, 0x3b },
173 };
174174};