提交 0ce4605c 编写于 作者: M Mathias Krause 提交者: 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: NMathias Krause <minipli@googlemail.com>
Signed-off-by: NMatt Fleming <matt.fleming@intel.com>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册