On 03/01/2013 03:07 PM, Borislav Petkov wrote:
>
> Hmm, yeah, that's nasty. This also means option #2 can go too because
> of the fixed addresses. Option #1 is also kinda polluting user address
> space so maybe the most elegant one would be #4, AFAICT.
>
No, it doesn't pollute the user address space, because the EFI BIOS is
effectively a process. We *have* to switch cr3 anyway around EFI calls,
because BIOSes in the field are known to use physical addresses instead
of virtual.
If Windows really does map EFI BIOS 1:1 then that explains why, and is
probably going to be the stable thing going forward.
-hpa
--
To unsubscribe from this list: send the line "unsubscribe linux-efi" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html