kernel-fxtec-pro1x/arch/x86/platform/efi
Matthew Garrett 7cb00b7287 x86, efi: Pass a minimal map to SetVirtualAddressMap()
Experimentation with various EFI implementations has shown that functions
outside runtime services will still update their pointers if
SetVirtualAddressMap() is called with memory descriptors outside the
runtime area. This is obviously insane, and therefore is unsurprising.
Evidence from instrumenting another EFI implementation suggests that it
only passes the set of descriptors covering runtime regions, so let's
avoid any problems by doing the same. Runtime descriptors are copied to
a separate memory map, and only that map is passed back to the firmware.

Signed-off-by: Matthew Garrett <mjg@redhat.com>
Link: http://lkml.kernel.org/r/1304623186-18261-4-git-send-email-mjg@redhat.com
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
2011-05-09 12:14:39 -07:00
..
efi.c x86, efi: Pass a minimal map to SetVirtualAddressMap() 2011-05-09 12:14:39 -07:00
efi_32.c x86: Move efi to platform 2010-10-27 14:30:01 +02:00
efi_64.c x86, efi: Consolidate EFI nx control 2011-05-09 12:14:29 -07:00
efi_stub_32.S x86: Move efi to platform 2010-10-27 14:30:01 +02:00
efi_stub_64.S x86: Move efi to platform 2010-10-27 14:30:01 +02:00
Makefile x86: Move efi to platform 2010-10-27 14:30:01 +02:00