Commit d276a1189d
Changed files (1)
lib
std
os
uefi
protocols
lib/std/os/uefi/protocols/edid_override_protocol.zig
@@ -8,7 +8,6 @@ pub const EdidOverrideProtocol = extern struct {
_get_edid: fn (*const EdidOverrideProtocol, Handle, *u32, *usize, *?[*]u8) callconv(.C) Status,
/// Returns policy information and potentially a replacement EDID for the specified video output device.
- /// attributes must be align(4)
pub fn getEdid(self: *const EdidOverrideProtocol, handle: Handle, attributes: *EdidOverrideProtocolAttributes, edid_size: *usize, edid: *?[*]u8) Status {
return self._get_edid(self, handle, attributes, edid_size, edid);
}
@@ -24,7 +23,7 @@ pub const EdidOverrideProtocol = extern struct {
};
pub const EdidOverrideProtocolAttributes = packed struct {
- dont_override: bool,
+ dont_override: bool align(4),
enable_hot_plug: bool,
_pad: u30 = 0,
};