From 59d9afcb5cc115fff2cf56475319f4599a670e30 Mon Sep 17 00:00:00 2001 From: David Gonzalez Martin Date: Mon, 23 Jan 2023 08:22:23 -0600 Subject: [PATCH] [UEFI] Delete unnecessary padding and fix number_of_pages type --- lib/std/os/uefi/tables/boot_services.zig | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/std/os/uefi/tables/boot_services.zig b/lib/std/os/uefi/tables/boot_services.zig index c87cf89e49..bfd3865e95 100644 --- a/lib/std/os/uefi/tables/boot_services.zig +++ b/lib/std/os/uefi/tables/boot_services.zig @@ -240,10 +240,9 @@ pub const MemoryDescriptorAttribute = packed struct(u64) { pub const MemoryDescriptor = extern struct { type: MemoryType, - padding: u32, physical_start: u64, virtual_start: u64, - number_of_pages: usize, + number_of_pages: u64, attribute: MemoryDescriptorAttribute, };