Page MenuHomeFreeBSD

efi: Use EDK2 EFI_GUID instead of sturct uuid
ClosedPublic

Authored by imp on Apr 25 2025, 7:34 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Jan 17, 10:55 PM
Unknown Object (File)
Fri, Jan 16, 6:46 PM
Unknown Object (File)
Wed, Dec 31, 2:31 AM
Unknown Object (File)
Tue, Dec 23, 11:24 AM
Unknown Object (File)
Tue, Dec 23, 12:31 AM
Unknown Object (File)
Dec 13 2025, 9:36 PM
Unknown Object (File)
Nov 26 2025, 9:10 PM
Unknown Object (File)
Nov 26 2025, 1:23 PM
Subscribers
None

Details

Summary

So, while struct uuid and EFI_GUID are quite similar (they are the same
size, they have the same binary representation, etc), they aren not
identical. Speciifcally, the UUID and GUID defines are slightly
different and can't be swapped one for the other. Start to use EFI_GUID
for all EFI tables. This will allow increased sharing with the boot
laoder that already uses EDK2 variants as well as using the possibility
to use the EDK2 headers we've already imported more easily.

Sponsored by: Netflix

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

imp requested review of this revision.Apr 25 2025, 7:34 PM
imp created this revision.
This revision was not accepted when it landed; it landed in state Needs Review.May 1 2025, 6:07 PM
This revision was automatically updated to reflect the committed changes.