Re: [edk2] INF FILE_GUID generation question

2016-05-14 Thread Andrew Fish
> On May 14, 2016, at 8:53 AM, Michael Zimmermann > wrote: > > Hi, > > I'm pretty sure it's correct because the python doc says that 'uuid.bytes' > is in big endian format. > Also I can easily double check this because my tool also prints the > ready-to-use string produced by str(guid) which m

Re: [edk2] INF FILE_GUID generation question

2016-05-14 Thread Michael Zimmermann
Hi, I'm pretty sure it's correct because the python doc says that 'uuid.bytes' is in big endian format. Also I can easily double check this because my tool also prints the ready-to-use string produced by str(guid) which matches my manual output exactly. Source: https://docs.python.org/2/library/u

Re: [edk2] INF FILE_GUID generation question

2016-05-14 Thread Andrew Fish
> On May 14, 2016, at 12:00 AM, Michael Zimmermann > 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 >

Re: [edk2] INF FILE_GUID generation question

2016-05-14 Thread Michael Zimmermann
> > 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 Michael ___ edk2-devel mailing list edk2-de

Re: [edk2] INF FILE_GUID generation question

2016-05-13 Thread David Van Arnem
On 05/13/2016 04:37 PM, Andrew Fish wrote: > >> On May 13, 2016, at 3:20 PM, David Van Arnem wrote: >> >> Hi all, >> >> Is there a specific method that should be used to generate FILE_GUIDs in >> an EDK2 INF file? A quick look through the INF spec only suggests that >> FILE_GUIDs should be in Re

Re: [edk2] INF FILE_GUID generation question

2016-05-13 Thread Andrew Fish
> On May 13, 2016, at 3:20 PM, David Van Arnem wrote: > > Hi all, > > Is there a specific method that should be used to generate FILE_GUIDs in > an EDK2 INF file? A quick look through the INF spec only suggests that > FILE_GUIDs should be in Registry 8-4-4-4-12 format and unique. Are > there