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
F107595437: D32226.diff
Thu, Jan 16, 9:48 AM
Unknown Object (File)
Sat, Jan 4, 12:44 AM
Unknown Object (File)
Dec 9 2024, 4:31 PM
Unknown Object (File)
Dec 2 2024, 3:05 AM
Unknown Object (File)
Nov 29 2024, 11:51 PM
Unknown Object (File)
Oct 20 2024, 11:55 AM
Unknown Object (File)
Oct 20 2024, 11:55 AM
Unknown Object (File)
Oct 20 2024, 11:55 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