Page MenuHomeFreeBSD

loader: abstract boot services exiting to libefi function
ClosedPublic

Authored by imp on Sep 29 2021, 4:09 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Feb 24, 6:30 AM
Unknown Object (File)
Tue, Feb 18, 12:32 PM
Unknown Object (File)
Mon, Feb 17, 4:57 PM
Unknown Object (File)
Fri, Feb 14, 2:16 PM
Unknown Object (File)
Jan 16 2025, 1:18 PM
Unknown Object (File)
Jan 16 2025, 12:56 PM
Unknown Object (File)
Jan 16 2025, 9:48 AM
Unknown Object (File)
Jan 4 2025, 12:44 AM
Subscribers

Details

Summary

Move direct call of ExitBootServices to efi_exit_boot_services. This
function sets boot_services_active to false so callers don't have to do
it everywhere (though currently only loader/bootinfo.c is affected).

Sponsored by: Netflix

Test Plan

This starts to abstract whether or not boot services are available
Though maybe we should just set BS = NULL and let callers that care use that (or better: have all callers go through a wrapper that returns an error when it's gone)

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 41845
Build 38733: arc lint + arc unit