grub/grub-core
Vladimir Serbinenko 7de6fe9635 types: Split aligned and packed guids
On ia64 alignment requirements are strict. When we pass a pointer to
UUID it needs to be at least 4-byte aligned or EFI will crash.
On the other hand in device path there is no padding for UUID, so we
need 2 types in one formor another. Make 4-byte aligned and unaligned types

The code is structured in a way to accept unaligned inputs
in most cases and supply 4-byte aligned outputs.

Efiemu case is a bit ugly because there inputs and outputs are
reversed and so we need careful casts to account for this
inversion.

Signed-off-by: Vladimir Serbinenko <phcoder@gmail.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
2023-11-08 05:04:24 +01:00
..
2023-01-19 17:39:04 +01:00
2023-06-01 11:45:00 +02:00
2023-06-01 11:45:00 +02:00
2022-03-14 16:00:27 +01:00
2017-05-03 12:49:31 +02:00
2023-06-23 00:50:38 +02:00
2023-06-23 00:50:38 +02:00
2017-05-03 12:49:31 +02:00