diff options
| author | Thomas Zimmermann <tzimmermann@suse.de> | 2026-02-17 16:56:19 +0100 |
|---|---|---|
| committer | Thomas Zimmermann <tzimmermann@suse.de> | 2026-02-20 14:38:22 +0100 |
| commit | 27fc52b5505a3acca96b884a4bf1345344e5a566 (patch) | |
| tree | 20b70160759e1f08a8f9948b7cdf2cb572a20235 /drivers/gpu | |
| parent | 95cef38e70250234a254e6228eb7342b6deaaffa (diff) | |
firmware: google: Pack structures for coreboot table entries
Pack the fields in the coreboot table entries. These entries are part of
the coreboot ABI, so they don't follow regular calling conventions. Fields
of type u64 are aligned to boundaries of 4 bytes instead of 8. [1]
So far this has not been a problem. In the future, padding bytes should
be added where explicit alignment is required.
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Link: https://github.com/coreboot/coreboot/blob/main/payloads/libpayload/include/coreboot_tables.h#L96 # [1]
Suggested-by: Julius Werner <jwerner@chromium.org>
Acked-by: Julius Werner <jwerner@chromium.org>
Acked-by: Tzung-Bi Shih <tzungbi@kernel.org>
Link: https://patch.msgid.link/20260217155836.96267-10-tzimmermann@suse.de
Diffstat (limited to 'drivers/gpu')
0 files changed, 0 insertions, 0 deletions
