diff options
| author | Stephen von Takach <steve@vontaka.ch> | 2021-10-24 18:56:40 +1100 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2021-10-25 16:43:23 -0400 |
| commit | a132190cad80669306705b72276e9641401426fb (patch) | |
| tree | 0a2166cddc53a01f5314a350ad64478a5e64941e /lib/std | |
| parent | ed7328119f2194f1b64085c08c88a5a656bfc597 (diff) | |
| download | zig-a132190cad80669306705b72276e9641401426fb.tar.gz zig-a132190cad80669306705b72276e9641401426fb.zip | |
fix(uefi MemoryDescriptor): padding after memory type
not 100% certain, just noticed that this is implemented slightly differently in rust
https://docs.rs/uefi/0.11.0/src/uefi/table/boot.rs.html#715
Diffstat (limited to 'lib/std')
| -rw-r--r-- | lib/std/os/uefi/tables/boot_services.zig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/std/os/uefi/tables/boot_services.zig b/lib/std/os/uefi/tables/boot_services.zig index 31ac352089..d5c3f12816 100644 --- a/lib/std/os/uefi/tables/boot_services.zig +++ b/lib/std/os/uefi/tables/boot_services.zig @@ -179,6 +179,7 @@ pub const MemoryType = enum(u32) { pub const MemoryDescriptor = extern struct { type: MemoryType, + padding: u32, physical_start: u64, virtual_start: u64, number_of_pages: usize, |
