> On May 14, 2016, at 12:00 AM, Michael Zimmermann <[email protected]> 
> wrote:
> 
> I wrote a small Python script to generate the  8-4-4-4-12 and EFI_GUID C 
> structure format at the same time.
> 
> me too :) in case anyone needs it: 
> https://github.com/efidroid/build/blob/master/tools/guidgen 
> <https://github.com/efidroid/build/blob/master/tools/guidgen>
> 

Michael,

I think you have the wrong endian. GUID is defined as a UINT32, UINT16, UINT16, 
Byte array. 

(guid[3], guid[2], guid[1], guid[0], guid[5], guid[4], guid[7], guid[6], 
guid[8], guid[9], guid[10], guid[11], guid[12], guid[13], guid[14], guid[15])

Contributed-under: TianoCore Contribution Agreement 1.0

Thanks,

Andrew Fish

> Michael

_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to