HomeFreeBSD

loader.efi: fix panic() after BS off

Description

loader.efi: fix panic() after BS off

panic() is using multiple services - attempting to read
keyboard, accessing time functions and finally, exiting the loader.

Protect all the accessed listed above. Note, when BS are off,
we really can not just exit the loader, we only can reboot.

MFC after: 1 week

Details

Provenance
tsoomeAuthored on Sep 8 2021, 12:14 AM
Parents
rG6d25ea6d9641: nfscl: Clean up the code by removing #if(n)def APPLE
Branches
Unknown
Tags
Unknown