Messages in this thread | | | Date | Mon, 9 Jun 2014 10:32:53 -0400 | From | Vivek Goyal <> | Subject | Re: [PATCH] x86/boot: EFI_MIXED should not prohibit loading above 4G |
| |
On Mon, Jun 09, 2014 at 03:25:59PM +0100, Matt Fleming wrote: > On Mon, 09 Jun, at 10:15:12AM, Vivek Goyal wrote: > > > > Ok, thanks. Or I can check whether EFI run time map is there or not. I am > > assuming that efi runtime services are not enabled, then run time map > > will not be there either. > > Yes, if runtime services are unavailable then the runtime map will not > be exported. > > Now, you can check for the presence of the runtime map from userland but > please don't use that as your check inside the kernel - this is exactly > what efi_enabled() is for.
Ok, I will use efi_enabled() instead.
Thanks Vivek
| |