mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-11 07:24:46 +00:00
efi: define struct efi_guid
This let's us forward declare efi_guid_t in the UUID code without pulling in efi.h Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org> Signed-off-by: Caleb Connolly <caleb.connolly@linaro.org>
This commit is contained in:
parent
775f7657ba
commit
3cc3bc08f4
2 changed files with 2 additions and 2 deletions
|
@ -74,7 +74,7 @@ struct efi_device_path {
|
|||
* struct { u32 a; u16; b; u16 c; u8 d[8]; }; which is 4-byte
|
||||
* aligned.
|
||||
*/
|
||||
typedef struct {
|
||||
typedef struct efi_guid {
|
||||
u8 b[16];
|
||||
} efi_guid_t __attribute__((aligned(4)));
|
||||
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
|
||||
#define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0]))
|
||||
|
||||
typedef struct {
|
||||
typedef struct efi_guid {
|
||||
uint8_t b[16];
|
||||
} efi_guid_t __aligned(8);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue