Commit 59d9afcb5c

David Gonzalez Martin <davidgm94.work@protonmail.com>
2023-01-23 15:22:23
[UEFI] Delete unnecessary padding and fix number_of_pages type
1 parent ac28bed
Changed files (1)
lib
std
os
uefi
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,
 };