Commit 0ce4605c authored by Mathias Krause's avatar Mathias Krause Committed by Matt Fleming

x86/efi: Update comment regarding required phys mapped EFI services

Commit 3f4a7836 ("x86/efi: Rip out phys_efi_get_time()") left
set_virtual_address_map as the only runtime service needed with a
phys mapping but missed to update the preceding comment. Fix that.
Signed-off-by: default avatarMathias Krause <minipli@googlemail.com>
Signed-off-by: default avatarMatt Fleming <matt.fleming@intel.com>
parent 60920685
...@@ -337,9 +337,9 @@ static int __init efi_runtime_init32(void) ...@@ -337,9 +337,9 @@ static int __init efi_runtime_init32(void)
} }
/* /*
* We will only need *early* access to the following two * We will only need *early* access to the SetVirtualAddressMap
* EFI runtime services before set_virtual_address_map * EFI runtime service. All other runtime services will be called
* is invoked. * via the virtual mapping.
*/ */
efi_phys.set_virtual_address_map = efi_phys.set_virtual_address_map =
(efi_set_virtual_address_map_t *) (efi_set_virtual_address_map_t *)
...@@ -361,9 +361,9 @@ static int __init efi_runtime_init64(void) ...@@ -361,9 +361,9 @@ static int __init efi_runtime_init64(void)
} }
/* /*
* We will only need *early* access to the following two * We will only need *early* access to the SetVirtualAddressMap
* EFI runtime services before set_virtual_address_map * EFI runtime service. All other runtime services will be called
* is invoked. * via the virtual mapping.
*/ */
efi_phys.set_virtual_address_map = efi_phys.set_virtual_address_map =
(efi_set_virtual_address_map_t *) (efi_set_virtual_address_map_t *)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment