On Tue, 08 Mar, at 07:57:35AM, Andrei Borzenkov wrote: > >> - 64-bit kernel on 32-bit platform like Baytrail can't work > > Do you mean "32 bit EFI"? If yes, why is it a problem?
The biggest issue is that there's no way right now for a boot loader to tell the kernel that it needs to use a translation layer when calling EFI services (we refer to this as the "thunk" layer in the kernel) without going via the EFI handover protocol. Obviously this could be achieved by writing the required code for GRUB but it would be largely duplicated from the existing code EFI boot stub code in the kernel. I don't think it's worth the effort. The kernel figures out when to use the thunk layer by taking note of which EFI handover offset entry point the boot loader entered from, we include both a 32-bit and 64-bit entry point when CONFIG_EFI_MIXED is enabled. _______________________________________________ Grub-devel mailing list [email protected] https://lists.gnu.org/mailman/listinfo/grub-devel
