# change uefi packed structs to new integer backed syntax \(\#13173\) · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/40e84a27d68e34b26a9e132b59169b14b6ef99c5)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 40e84a27d68e34b26a9e132b59169b14b6ef99c5

Requested commit: 40e84a27d68e34b26a9e132b59169b14b6ef99c5

Commit: 40e84a27d68e34b26a9e132b59169b14b6ef99c5

Tree: 7489f217dcd2e874121d2048e98002a68cad1ba9

Author: Nameless

Committer: GitHub

## Message

```
change uefi packed structs to new integer backed syntax (#13173)

* std.os.uefi: integer backed structs, add tests to catch regressions

device_path_protocol now uses extern structs with align(1) fields because
the transition to integer backed packed struct broke alignment

added comptime asserts that device_path_protocol structs do not violate
alignment and size specifications
```

## Parents

- [1696434063dd6b09af93fbab04727f91397e2e00](https://git.cafe/gitcafe/zig/commit/1696434063dd6b09af93fbab04727f91397e2e00?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/40e84a27d68e34b26a9e132b59169b14b6ef99c5?format=markdown)
