Messages in this thread | | | Date | Wed, 27 Jun 2012 14:52:37 -0700 | From | "H. Peter Anvin" <> | Subject | Re: [PATCH] efi: add efi_runtime state checking |
| |
On 06/27/2012 02:35 PM, Olof Johansson wrote: > This adds an efi_runtime variable indicating whether the > efi runtime services are available. The only time they are > expected to not be available is when a 32-bit kernel has been > booted using 64-but EFI and vice versa. > > It also adds checking to the two locations where functions are > called; x86 reboot and efivars. >
OK, stupid question:
Why is this different from the efi_enabled variable, or rather: why is it different from what the efi_enabled variable *should* be? If runtime services aren't available the only "EFI" that is available to the kernel are the data structures passed in, and those can be checked directly...
-hpa
-- H. Peter Anvin, Intel Open Source Technology Center I work for Intel. I don't speak on their behalf.
| |