Page MenuHomeFreeBSD

efitable: Don't assume EFI GUID are uuid_t
ClosedPublic

Authored by imp on Apr 25 2025, 7:33 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Feb 8, 3:13 AM
Unknown Object (File)
Sat, Feb 7, 9:40 PM
Unknown Object (File)
Sat, Jan 31, 2:13 PM
Unknown Object (File)
Sun, Jan 25, 9:36 AM
Unknown Object (File)
Fri, Jan 16, 9:20 AM
Unknown Object (File)
Dec 1 2025, 4:36 AM
Unknown Object (File)
Nov 25 2025, 6:06 PM
Unknown Object (File)
Nov 16 2025, 7:58 AM
Subscribers
None

Details

Summary

To share code better with EDK2, we need to align our interfaces with its
definition of EFI_GUID. This structure is the same size as our uuid_t,
but has different elements. The EFI standard uses a string notaiton that
are compatible with the uuid_* routines, however. So we use those
routies to parse, but need to b careful to cast as appropriate. Becuas
the ABI is the same, this is safe, though perhaps suboptimal. These
changes make efitable API neutral.

Sponsored by: Netflix

Diff Detail

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