Page MenuHomeFreeBSD

kboot: Move common EFI stuff from aarch64 to libkboot
ClosedPublic

Authored by imp on Apr 16 2025, 7:23 PM.
Tags
None
Referenced Files
F151133021: D49863.id153811.diff
Mon, Apr 6, 7:41 AM
Unknown Object (File)
Thu, Apr 2, 7:31 AM
Unknown Object (File)
Fri, Mar 27, 1:19 AM
Unknown Object (File)
Thu, Mar 26, 4:15 PM
Unknown Object (File)
Tue, Mar 17, 7:14 PM
Unknown Object (File)
Tue, Mar 17, 9:40 AM
Unknown Object (File)
Sun, Mar 15, 10:58 AM
Unknown Object (File)
Feb 14 2026, 12:17 AM
Subscribers

Details

Summary

Move efi_read_from_pa, efi_set_systbl and efi_bi_loadsmap into efi.c
Move prototype for populate_avail_from_efi as well, though that arrived
previously.

Move efi memory map variables into efi.c.

Add efi_read_from_sysfs, but if 0 it out. We'll want to use it if we can
get the proposed /sys/firmware/efi/memmap data published in the same
format and the code works, it's just that the current
/sys/firmware/efi/runtime-memmap isn't complete enough to use.

Sponsored by: Netflix

Diff Detail

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