diff options
author | 2023-12-19 17:14:05 +0800 | |
---|---|---|
committer | 2023-12-19 11:16:37 +0100 | |
commit | 174a0c565cea74a7811ff79fbee1b70247570ade (patch) | |
tree | 43bd475793158498b6860edb6aa905f93e866f8e /tools/perf/scripts/python/libxed.py | |
parent | Merge branch 'efi/urgent' into efi/next (diff) | |
download | wireguard-linux-174a0c565cea74a7811ff79fbee1b70247570ade.tar.xz wireguard-linux-174a0c565cea74a7811ff79fbee1b70247570ade.zip |
efi/loongarch: Directly position the loaded image file
The use of the 'kernel_offset' variable to position the image file that
has been loaded by UEFI or GRUB is unnecessary, because we can directly
position the loaded image file through using the image_base field of the
efi_loaded_image struct provided by UEFI.
Replace kernel_offset with image_base to position the image file that has
been loaded by UEFI or GRUB.
Signed-off-by: Wang Yao <wangyao@lemote.com>
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions