authorgravatar for davidgm94.work@protonmail.comDavid Gonzalez Martin <davidgm94.work@protonmail.com> 2023-01-23 08:22:23-06:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2023-01-23 21:05:38-05:00
log59d9afcb5cc115fff2cf56475319f4599a670e30
tree84328423b3ac958870168cb794347b615171047d
parentac28bedbeec5947a9de651175277b4e554334b16

[UEFI] Delete unnecessary padding and fix number_of_pages type


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

lib/std/os/uefi/tables/boot_services.zig+1-2
...@@ -240,10 +240,9 @@ pub const MemoryDescriptorAttribute = packed struct(u64) {...@@ -240,10 +240,9 @@ pub const MemoryDescriptorAttribute = packed struct(u64) {
240240
241pub const MemoryDescriptor = extern struct {241pub const MemoryDescriptor = extern struct {
242 type: MemoryType,242 type: MemoryType,
243 padding: u32,
244 physical_start: u64,243 physical_start: u64,
245 virtual_start: u64,244 virtual_start: u64,
246 number_of_pages: usize,245 number_of_pages: u64,
247 attribute: MemoryDescriptorAttribute,246 attribute: MemoryDescriptorAttribute,
248};247};
249248