Re: [PATCH 3/4] x86, efi: Add an efi= kernel command line parameter
From: Matthew Garrett
Date: Thu Jun 06 2013 - 15:54:58 EST
On Thu, Jun 06, 2013 at 09:41:34PM +0200, Borislav Petkov wrote:
> On Thu, Jun 06, 2013 at 08:35:48PM +0100, Matthew Garrett wrote:
> > No, I think that's the wrong thing to do. We should set up the current
> > mappings and the 1:1 mappings, and pass the current mappings through
> > SetVirtualAddressMap(). That matches the behaviour of Windows.
>
> And when do we use the 1:1 mappings and when the current mappings when
> doing runtime calls?
We want both to be available when we're making the call, but I think we
should probably enter via the high addresses. The only reason we're
doing this at all is that some systems don't update all of their
pointers from physical mode, and we'd prefer them to work rather than
fault...
--
Matthew Garrett | mjg59@xxxxxxxxxxxxx
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/