Skip to content
Commit 01fa922b authored by Heinrich Schuchardt's avatar Heinrich Schuchardt
Browse files

efi_loader: efi_current_var after SetVirtualAddressMap



Variable efi_current_var is a pointer to a physical memory address that
becomes invalid after SetVirtualAddressMap(). Instead of converting it via
ConvertPointer() simply set it to NULL.

Fixes: b02a7071 ("efi_loader: enable UEFI variables at runtime")
Signed-off-by: default avatarHeinrich Schuchardt <xypron.glpk@gmx.de>
parent e9f1f5f4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment