diff options
author | Matthew Garrett <mjg@redhat.com> | 2011-05-05 19:19:45 (GMT) |
---|---|---|
committer | H. Peter Anvin <hpa@linux.intel.com> | 2011-05-09 19:14:39 (GMT) |
commit | 7cb00b72876ea2451eb79d468da0e8fb9134aa8a (patch) | |
tree | 403d22d33c4e050d6d30749e7a7be9a1393368a6 /include/linux/kmod.h | |
parent | 202f9d0a41809e3424af5f61489b48b622824aed (diff) | |
download | linux-fsl-qoriq-7cb00b72876ea2451eb79d468da0e8fb9134aa8a.tar.xz |
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>
Diffstat (limited to 'include/linux/kmod.h')
0 files changed, 0 insertions, 0 deletions