[PATCH v3 0/2] Use load address to calculate kernel entry

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Wang Yao <wangyao@xxxxxxxxxx>

1, The PIE kernel will be loaded anywhere, so use load address to
calculate kernel entry address.

2, Use twice efi_relocate_kernel() to make load address is not equal to
link address for test.

Wang Yao (2):
  efi/loongarch: Use load address to calculate kernel entry address
  efi/loongarch: load address is not equal to link address

 arch/loongarch/include/asm/efi.h              |  2 +-
 drivers/firmware/efi/libstub/loongarch-stub.c | 16 +++++++++++++---
 drivers/firmware/efi/libstub/loongarch.c      |  6 +++---
 3 files changed, 17 insertions(+), 7 deletions(-)

-- 
2.27.0





[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux