UEFI: Don't pass boot services regions to SetVirtualAddressMap()
authorMatthew Garrett <matthew.garrett@nebula.com>
Sun, 2 Jun 2013 22:12:25 +0000 (18:12 -0400)
committerMatt Fleming <matt.fleming@intel.com>
Thu, 6 Jun 2013 13:28:11 +0000 (14:28 +0100)
commit1acba98f810a14b1255e34bc620594f83de37e36
tree875fc5bd05c86ebeab607df1fd5c7b1c9447ec6e
parentf722406faae2d073cc1d01063d1123c35425939e
UEFI: Don't pass boot services regions to SetVirtualAddressMap()

We need to map boot services regions during startup in order to avoid
firmware bugs, but we shouldn't be passing those regions to
SetVirtualAddressMap(). Ensure that we're only passing regions that are
marked as being mapped at runtime.

Signed-off-by: Matthew Garrett <matthew.garrett@nebula.com>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
arch/x86/platform/efi/efi.c