Page MenuHomeFreeBSD

efitable: Don't assume EFI GUID are uuid_t
ClosedPublic

Authored by imp on Fri, Apr 25, 7:33 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, May 6, 10:55 PM
Unknown Object (File)
Thu, May 1, 7:21 PM
Unknown Object (File)
Thu, May 1, 2:00 PM
Unknown Object (File)
Tue, Apr 29, 7:26 AM
Unknown Object (File)
Sun, Apr 27, 9:20 AM
Unknown Object (File)
Sat, Apr 26, 10:27 PM
Unknown Object (File)
Sat, Apr 26, 3:18 PM
Unknown Object (File)
Sat, Apr 26, 12:59 PM
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