Commit e831923f authored by Tomas Pilar's avatar Tomas Pilar Committed by Madhukar Pappireddy
Browse files

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: default avatarTomas Pilar <tomas@nuviainc.com>
parent 706058c2
......@@ -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];
};
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment