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)
Wed, Dec 24, 6:00 PM
Unknown Object (File)
Wed, Dec 24, 5:51 AM
Unknown Object (File)
Nov 19 2025, 2:24 AM
Unknown Object (File)
Nov 18 2025, 8:19 PM
Unknown Object (File)
Nov 18 2025, 4:56 PM
Unknown Object (File)
Nov 18 2025, 2:29 PM
Unknown Object (File)
Nov 18 2025, 11:59 AM
Unknown Object (File)
Nov 18 2025, 9:04 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
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable