mirror of
https://github.com/ziglang/zig.git
synced 2024-11-27 07:32:44 +00:00
[UEFI] Delete unnecessary padding and fix number_of_pages type
This commit is contained in:
parent
ac28bedbee
commit
59d9afcb5c
@ -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,
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user