Page MenuHomeFreeBSD

efivar: Use struct guid_table instead of uuid_table
ClosedPublic

Authored by imp on Apr 28 2025, 11:57 PM.
Tags
None
Referenced Files
F132685630: D50060.diff
Sun, Oct 19, 1:14 AM
Unknown Object (File)
Fri, Sep 26, 6:55 PM
Unknown Object (File)
Sep 18 2025, 1:23 PM
Unknown Object (File)
Sep 8 2025, 1:06 AM
Unknown Object (File)
Sep 7 2025, 9:47 PM
Unknown Object (File)
Sep 6 2025, 1:05 PM
Unknown Object (File)
Sep 6 2025, 12:34 PM
Unknown Object (File)
Sep 2 2025, 6:40 AM
Subscribers
None

Details

Summary

uuid_table was the linux name. When libefivar was started, I tried to
make it compatible with Linux. However, that's no longer relevant: (a)
little to no Linux code was subsequently ported and (b) Linux compat has
eroded. This erodes it a bit more to cope with the uuid_t -> efi_guid_t
changes. This also moves a couple of functions around to reduce copying and
updates consumers for the visible parts of this change.

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 28 2025, 11:57 PM
imp created this revision.
This revision is now accepted and ready to land.Apr 29 2025, 8:01 AM
kib added inline comments.
lib/libefivar/efivar.c
45

I think it is more style-ish to have the intializator '{' on the same line as the variable definition.

lib/libefivar/efivar.h
83