[UEFI] Delete unnecessary padding and fix number_of_pages type

This commit is contained in:
David Gonzalez Martin 2023-01-23 08:22:23 -06:00 committed by Andrew Kelley
parent ac28bedbee
commit 59d9afcb5c

View File

@ -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,
};