Page MenuHomeFreeBSD

loader.efi: Simplify the code for null decompression a little
ClosedPublic

Authored by imp on Jul 7 2026, 4:15 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Aug 17, 7:30 PM
Unknown Object (File)
Mon, Aug 10, 10:13 PM
Unknown Object (File)
Mon, Aug 10, 2:10 PM
Unknown Object (File)
Mon, Aug 10, 9:46 AM
Unknown Object (File)
Sun, Aug 9, 4:03 AM
Unknown Object (File)
Sat, Aug 8, 7:57 PM
Unknown Object (File)
Sat, Aug 8, 3:49 PM
Unknown Object (File)
Sat, Aug 8, 9:53 AM
Subscribers

Details

Summary

This code is simpler when we spell it the Unix way. Also, add sanity
checks to make sure the offset is where we think it is.

Fixes: afee781523e4 ("loader.efi: Recognize new memdisk=<url> and memcd=<url> options")
Sponsored by: Netflix

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 74573
Build 71456: arc lint + arc unit