authorgravatar for steve@vontaka.chStephen von Takach <steve@vontaka.ch> 2021-10-24 18:56:40+11:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2021-10-25 16:43:23-04:00
loga132190cad80669306705b72276e9641401426fb
tree0a2166cddc53a01f5314a350ad64478a5e64941e
parented7328119f2194f1b64085c08c88a5a656bfc597

fix(uefi MemoryDescriptor): padding after memory type

not 100% certain, just noticed that this is implemented slightly differently in rust https://docs.rs/uefi/0.11.0/src/uefi/table/boot.rs.html#715

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

lib/std/os/uefi/tables/boot_services.zig+1
......@@ -179,6 +179,7 @@ pub const MemoryType = enum(u32) {
179179
180180pub const MemoryDescriptor = extern struct {
181181 type: MemoryType,
182 padding: u32,
182183 physical_start: u64,
183184 virtual_start: u64,
184185 number_of_pages: usize,