mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-16 17:44:19 +00:00
tools_share/uuid: Add EFI_GUID representation
The UEFI specification details the represenatation for the EFI_GUID type. Add this representation to the uuid_helper_t union type so that GUID definitions can be shared verbatim between UEFI and TF-A header files. Change-Id: Ie44ac141f70dd0025e186581d26dce1c1c29fce6 Signed-off-by: Tomas Pilar <tomas@nuviainc.com>
This commit is contained in:
parent
706058c255
commit
e831923f95
1 changed files with 8 additions and 0 deletions
|
@ -56,8 +56,16 @@ struct uuid {
|
|||
uint8_t node[_UUID_NODE_LEN];
|
||||
};
|
||||
|
||||
struct efi_guid {
|
||||
uint32_t time_low;
|
||||
uint16_t time_mid;
|
||||
uint16_t time_hi_and_version;
|
||||
uint8_t clock_seq_and_node[8];
|
||||
};
|
||||
|
||||
union uuid_helper_t {
|
||||
struct uuid uuid_struct;
|
||||
struct efi_guid efi_guid;
|
||||
uint32_t word[4];
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue