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)
Sun, Apr 7, 12:06 PM
Unknown Object (File)
Mar 7 2024, 4:45 PM
Unknown Object (File)
Jan 10 2024, 4:05 AM
Unknown Object (File)
Dec 27 2023, 6:56 AM
Unknown Object (File)
Dec 22 2023, 11:19 PM
Unknown Object (File)
Dec 12 2023, 4:04 AM
Unknown Object (File)
Sep 6 2023, 3:08 AM
Unknown Object (File)
Aug 27 2023, 6:32 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